1 |
commit: 1aed846710e5368ac390530b31e6854fa02a8489 |
2 |
Author: David Michael <fedora.dm0 <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Sep 3 12:40:33 2020 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 7 20:44:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aed8467 |
7 |
|
8 |
sys-apps/acl: EAPI 7 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/739302 |
11 |
Package-Manager: Portage-3.0.4, Repoman-2.3.23 |
12 |
Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com> |
13 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
14 |
|
15 |
sys-apps/acl/acl-2.2.53-r1.ebuild | 55 +++++++++++++++++++++++++++++++++++++++ |
16 |
1 file changed, 55 insertions(+) |
17 |
|
18 |
diff --git a/sys-apps/acl/acl-2.2.53-r1.ebuild b/sys-apps/acl/acl-2.2.53-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..4965f72787c |
21 |
--- /dev/null |
22 |
+++ b/sys-apps/acl/acl-2.2.53-r1.ebuild |
23 |
@@ -0,0 +1,55 @@ |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+inherit flag-o-matic libtool toolchain-funcs multilib-minimal usr-ldscript |
30 |
+ |
31 |
+DESCRIPTION="access control list utilities, libraries and headers" |
32 |
+HOMEPAGE="https://savannah.nongnu.org/projects/acl" |
33 |
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="LGPL-2.1" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
38 |
+IUSE="nls static-libs" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] |
42 |
+" |
43 |
+DEPEND="${RDEPEND}" |
44 |
+BDEPEND="nls? ( sys-devel/gettext )" |
45 |
+ |
46 |
+pkg_setup() { |
47 |
+ # filter out -flto flags as they break getfacl/setfacl binaries |
48 |
+ # (bug #667372) |
49 |
+ filter-flags -flto* |
50 |
+} |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ default |
54 |
+ elibtoolize #580792 |
55 |
+} |
56 |
+ |
57 |
+multilib_src_configure() { |
58 |
+ local myeconfargs=( |
59 |
+ --bindir="${EPREFIX}"/bin |
60 |
+ $(use_enable static-libs static) |
61 |
+ --libexecdir="${EPREFIX}"/usr/$(get_libdir) |
62 |
+ $(use_enable nls) |
63 |
+ ) |
64 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
65 |
+} |
66 |
+ |
67 |
+multilib_src_install() { |
68 |
+ default |
69 |
+ |
70 |
+ # move shared libs to / |
71 |
+ gen_usr_ldscript -a acl |
72 |
+} |
73 |
+ |
74 |
+multilib_src_install_all() { |
75 |
+ if ! use static-libs ; then |
76 |
+ find "${ED}" -type f -name "*.la" -delete || die |
77 |
+ fi |
78 |
+} |