1 |
commit: 79c3dd924b4a170d77d3eab29ab9b25fad6f0f3d |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 9 15:19:24 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 9 15:19:40 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79c3dd92 |
7 |
|
8 |
sys-apps/attr: Bump to version 2.4.48 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
sys-apps/attr/Manifest | 1 + |
13 |
sys-apps/attr/attr-2.4.48.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 56 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/attr/Manifest b/sys-apps/attr/Manifest |
17 |
index 16cf20ce4d1..40cfb328172 100644 |
18 |
--- a/sys-apps/attr/Manifest |
19 |
+++ b/sys-apps/attr/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST attr-2.4.47.src.tar.gz 343692 BLAKE2B af4d509f156cb2e693f0faebf1a6cfb4a27cbdd3fd7f8b436cc01419c905ff9ac36214ada2ca8269e49c2e276917b1178dcda97050cf25cecd65382f22bdf9bb SHA512 2a333f63655758298650cf8f89c175efdc0112dcc4013e8d023e2a9a69f177e4bcb1f1d10b6666d6f2027dca4dec0833d54749952ab153d28367e1a72e6e2831 |
22 |
+DIST attr-2.4.48.tar.xz 346292 BLAKE2B eeffc17bf485749b5d0a1fce4ac3702c33a0bacce3ad635400e8b0b52981f14c5e750ef570f8fd19657e460e51e6e09f972134ef8a3e6efc15c2a7203682df75 SHA512 78b8160303aec9e01f63b5cf725a9e16432ff1d4a6e0065ce1a52715ae1266572e0c01f9be25c938c484deea288fdff2ce27981c3aea578753ad854084957e8b |
23 |
|
24 |
diff --git a/sys-apps/attr/attr-2.4.48.ebuild b/sys-apps/attr/attr-2.4.48.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..086cfe28d39 |
27 |
--- /dev/null |
28 |
+++ b/sys-apps/attr/attr-2.4.48.ebuild |
29 |
@@ -0,0 +1,55 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit libtool ltprune toolchain-funcs multilib-minimal |
36 |
+ |
37 |
+DESCRIPTION="Extended attributes tools" |
38 |
+HOMEPAGE="https://savannah.nongnu.org/projects/attr" |
39 |
+# Self-hosting as savannah does not provide a tarball on their download |
40 |
+# area and the tarball in their git repo requires autoreconf to be run. |
41 |
+SRC_URI="https://dev.gentoo.org/~polynomial-c/dist/${P}.tar.xz" |
42 |
+ |
43 |
+LICENSE="LGPL-2.1" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" |
46 |
+IUSE="debug static-libs" |
47 |
+ |
48 |
+DEPEND=" |
49 |
+ sys-devel/autoconf |
50 |
+ sys-devel/gettext |
51 |
+" |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ default |
55 |
+ elibtoolize #580792 |
56 |
+} |
57 |
+ |
58 |
+multilib_src_configure() { |
59 |
+ unset PLATFORM #184564 |
60 |
+ export OPTIMIZER=${CFLAGS} |
61 |
+ export DEBUG=-DNDEBUG |
62 |
+ |
63 |
+ local myeconfargs=( |
64 |
+ --bindir="${EPREFIX}"/bin |
65 |
+ --enable-shared $(use_enable static-libs static) |
66 |
+ --libexecdir="${EPREFIX}"/usr/$(get_libdir) |
67 |
+ $(use_enable debug) |
68 |
+ ) |
69 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
70 |
+} |
71 |
+ |
72 |
+multilib_src_install() { |
73 |
+ emake DESTDIR="${D}" install |
74 |
+ |
75 |
+ if multilib_is_native_abi; then |
76 |
+ # we install attr into /bin, so we need the shared lib with it |
77 |
+ gen_usr_ldscript -a attr |
78 |
+ fi |
79 |
+} |
80 |
+ |
81 |
+multilib_src_install_all() { |
82 |
+ use static-libs || prune_libtool_files --all |
83 |
+ einstalldocs |
84 |
+} |