/[gentoo-x86]/sys-libs/libcap/libcap-2.06.ebuild
Gentoo

Diff of /sys-libs/libcap/libcap-2.06.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/Attic/libcap-2.06.ebuild,v 1.1 2008/02/16 22:02:28 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/Attic/libcap-2.06.ebuild,v 1.2 2008/02/17 06:31:17 vapier Exp $
4 4
5inherit eutils multilib toolchain-funcs 5inherit eutils multilib toolchain-funcs
6 6
7DESCRIPTION="POSIX 1003.1e capabilities" 7DESCRIPTION="POSIX 1003.1e capabilities"
8HOMEPAGE="http://www.friedhoff.org/posixfilecaps.html" 8HOMEPAGE="http://www.friedhoff.org/posixfilecaps.html"
11LICENSE="GPL-2 BSD" 11LICENSE="GPL-2 BSD"
12SLOT="0" 12SLOT="0"
13KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" 13KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
14IUSE="pam" 14IUSE="pam"
15 15
16RDEPEND="sys-apps/attr"
17DEPEND="${RDEPEND}
16DEPEND="sys-kernel/linux-headers" 18 sys-kernel/linux-headers"
17RDEPEND=""
18 19
19src_unpack() { 20src_unpack() {
20 unpack ${P}.tar.bz2 21 unpack ${P}.tar.bz2
21 cd "${S}" 22 cd "${S}"
22 epatch "${FILESDIR}"/${PV}/*.patch 23 epatch "${FILESDIR}"/${PV}/*.patch
24 sed -i 's:gperf:false:' libcap/Makefile #210424
23} 25}
24 26
25src_compile() { 27src_compile() {
26 tc-export BUILD_CC CC AR RANLIB 28 tc-export BUILD_CC CC AR RANLIB
27 export PAM_CAP=$(use pam && echo yes || echo no) 29 export PAM_CAP=$(use pam && echo yes || echo no)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20