From e092e3c961ee4a744bb43481e684db50124658a5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 30 Sep 2003 03:17:09 +0000 Subject: old --- sys-libs/libcap/files/digest-libcap-1.10-r1 | 1 - sys-libs/libcap/libcap-1.10-r1.ebuild | 53 ----------------------------- 2 files changed, 54 deletions(-) delete mode 100644 sys-libs/libcap/files/digest-libcap-1.10-r1 delete mode 100644 sys-libs/libcap/libcap-1.10-r1.ebuild (limited to 'sys-libs') diff --git a/sys-libs/libcap/files/digest-libcap-1.10-r1 b/sys-libs/libcap/files/digest-libcap-1.10-r1 deleted file mode 100644 index b64fd78bbd27..000000000000 --- a/sys-libs/libcap/files/digest-libcap-1.10-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 4426a413128142cab89eb2e6f13d8571 libcap-1.10.tar.bz2 26686 diff --git a/sys-libs/libcap/libcap-1.10-r1.ebuild b/sys-libs/libcap/libcap-1.10-r1.ebuild deleted file mode 100644 index 9423892b63a9..000000000000 --- a/sys-libs/libcap/libcap-1.10-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-1.10-r1.ebuild,v 1.3 2003/09/08 02:38:54 msterret Exp $ - -inherit base - -DESCRIPTION="POSIX 1003.1e capabilities" -HOMEPAGE="http://linux.kernel.org/pub/linux/libs/security/linux-privs/" -SRC_URI="http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/${P}.tar.bz2" -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="~x86 ~arm ~mips ~hppa ~sparc ~ppc ~alpha" -IUSE="python" - -#patch is in recent 2.2 kernels so it works there -DEPEND="virtual/glibc - virtual/os-headers - python? ( >=virtual/python-2.2.1 >=dev-lang/swig-1.3.10 )" -RDEPEND="python? ( >=virtual/python-2.2.1 )" - -S=${WORKDIR}/${P} - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/libcap-1.10-python.patch -} - -PYTHONVER="`python -V 2>&1 | sed 's/^Python //'|sed 's/\([0-9]*\.[0-9]*\).*/\1/'`" - -src_compile() { - local myflags - myflags="" - if [ "`use python`" ]; then - myflags="${myflags} PYTHON=1 PYTHONMODDIR=/usr/lib/python${PYTHONVER}/site-packages" - CFLAGS="${CFLAGS} -I/usr/include/python${PYTHONVER}" - fi - - # all 64 bit platforms need to get -fPIC - use alpha || use mips && append-flags -fPIC - - emake COPTFLAG="${CFLAGS}" DEBUG="" ${myflags} || die -} - -src_install() { - local myflags - myflags="" - if [ "`use python`" ]; then - myflags="${myflags} PYTHON=1 PYTHONMODDIR=${D}/usr/lib/python${PYTHONVER}/site-packages" - fi - make install FAKEROOT="${D}" man_prefix=/usr/share ${myflags} || die - dodoc CHANGELOG README License pgp.keys.asc doc/capability.notes -} -- cgit v1.2.3-65-gdbad