Repoman corrections (cool tool)
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /srv/svnroot/gentoo/net-nds/novell-xtier-core/novell-xtier-core-3.1.4_p4.ebuild,v 0.1 2006/07/22 15:20:30 Mario Fetka $
|
||||
|
||||
inherit eutils rpm
|
||||
|
||||
if [[ -z "${NOVELL_ACCOUNT_USERNAME}" && -z "${NOVELL_ACCOUNT_PASSWORD}" ]]; then
|
||||
einfo "Please add the NOVELL_ACCOUNT_USERNAME=\"...\" Variable to /etc/make.conf"
|
||||
einfo "Please add the NOVELL_ACCOUNT_PASSWORD=\"...\" Variable to /etc/make.conf"
|
||||
die "No login Informations."
|
||||
fi
|
||||
|
||||
MY_PV="${PV/_p/-}"
|
||||
DESCRIPTION="Novell Client for Linux file system deamon"
|
||||
HOMEPAGE="http://www.novell.com"
|
||||
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cache.novell.com/prot/5kA1ixCv1_k~/ncl_SLE10_bld711.tar.gz"
|
||||
LICENSE="Novell-NCL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE="gtk"
|
||||
DEPEND=""
|
||||
RDEPEND="virtual/libc
|
||||
>=sys-auth/novell-nmasclient-3.2.0
|
||||
!net-misc/novell-xtier-core"
|
||||
RESTRICT="fetch nostrip"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
|
||||
cd ${PN}-${MY_PV}
|
||||
rpm_unpack ${WORKDIR}/ncl_build_711/NCL_disk/novell/i586/${PN}-${MY_PV}.sles10.i586.rpm
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
chmod 755 "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/xtier
|
||||
chmod 755 "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/xtier/lib
|
||||
mv "${WORKDIR}/${PN}-${MY_PV}"/usr/share/doc/packages/${PN} "${WORKDIR}/${PN}-${MY_PV}"/usr/share/doc/${P}
|
||||
mv "${WORKDIR}/${PN}-${MY_PV}"/opt "${D}"/ || die "mv opt"
|
||||
mv "${WORKDIR}/${PN}-${MY_PV}"/usr "${D}"/ || die "mv usr"
|
||||
|
||||
insinto /etc/env.d
|
||||
doins "${FILESDIR}"/80novell-xtier
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user