Lines 2-8
Link Here
|
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/libcap-2.22.ebuild,v 1.12 2012/09/22 18:38:06 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-2.22.ebuild,v 1.12 2012/09/22 18:38:06 vapier Exp $ |
4 |
|
4 |
|
5 |
EAPI="2" |
5 |
EAPI="4" |
6 |
|
6 |
|
7 |
inherit eutils multilib toolchain-funcs pam |
7 |
inherit eutils multilib toolchain-funcs pam |
8 |
|
8 |
|
Lines 13-19
Link Here
|
13 |
# it's available under either of the licenses |
13 |
# it's available under either of the licenses |
14 |
LICENSE="|| ( GPL-2 BSD )" |
14 |
LICENSE="|| ( GPL-2 BSD )" |
15 |
SLOT="0" |
15 |
SLOT="0" |
16 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" |
16 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~ia64-linux ~x86-linux" |
17 |
IUSE="pam" |
17 |
IUSE="pam" |
18 |
|
18 |
|
19 |
RDEPEND="sys-apps/attr |
19 |
RDEPEND="sys-apps/attr |
Lines 39-49
Link Here
|
39 |
} |
39 |
} |
40 |
|
40 |
|
41 |
src_install() { |
41 |
src_install() { |
42 |
emake install DESTDIR="${D}" || die |
42 |
emake install DESTDIR="${ED}" |
43 |
|
43 |
|
44 |
gen_usr_ldscript -a cap |
44 |
gen_usr_ldscript -a cap |
45 |
|
45 |
|
46 |
rm -rf "${D}"/usr/$(get_libdir)/security |
46 |
rm -rf "${ED}"/usr/$(get_libdir)/security |
47 |
dopammod pam_cap/pam_cap.so |
47 |
dopammod pam_cap/pam_cap.so |
48 |
dopamsecurity '' pam_cap/capability.conf |
48 |
dopamsecurity '' pam_cap/capability.conf |
49 |
|
49 |
|