Repoman corrections (cool tool)

This commit is contained in:
geos_one
2006-08-13 14:30:07 +00:00
parent f58234282d
commit 3ca2604b24
68 changed files with 278 additions and 2090 deletions

View File

@@ -1,52 +0,0 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /srv/svnroot/gentoo/sys-libs/novell-xplatlib/novell-xplatlib-1.0.2_p5.ebuild,v 0.1 2006/07/22 15:28:52 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/-}"
MY_P="${PV/_p*/}"
DESCRIPTION="Novell XPLAT Libraries"
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
!net-misc/novell-xplatlib"
RESTRICT="nomirror 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}.i586.rpm
}
src_compile() { :; }
src_install() {
for lib in cal cln clx loc ncp net
do
ln -sf lib${lib}lnx.so.${MY_P} "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/lib/lib${lib}lnx.so.1
ln -sf lib${lib}lnx.so.${MY_P} "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/lib/lib${lib}lnx.so
done
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
}