1 |
commit: 1d4dbac96fe32ce1382b0be34de2ac32fdf85b6e |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 28 17:27:51 2016 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 28 17:34:53 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d4dbac9 |
7 |
|
8 |
dev-libs/elfutils: version bump to 0.168 |
9 |
|
10 |
dev-libs/elfutils/Manifest | 1 + |
11 |
dev-libs/elfutils/elfutils-0.168.ebuild | 59 +++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 60 insertions(+) |
13 |
|
14 |
diff --git a/dev-libs/elfutils/Manifest b/dev-libs/elfutils/Manifest |
15 |
index 5530414..3ee32a7 100644 |
16 |
--- a/dev-libs/elfutils/Manifest |
17 |
+++ b/dev-libs/elfutils/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST elfutils-0.166.tar.bz2 6496225 SHA256 3c056914c8a438b210be0d790463b960fc79d234c3f05ce707cbff80e94cba30 SHA512 543e8f9fbebbef86c40b1d6dc93da04a8431071aad636b70e7a1b9536450990b237d100d354c29fd0c3605074b7a0621f5bdaab4c2664be42b2912ad283bc614 WHIRLPOOL 4de083bbb397235dd46c2ba6e0cbb615825c13d7e8413015d5ff08d72deae1d9a508c0f6e5f90e27cc709870064bc53a51b2a681f2a9b80e1f658bb7dc475f8d |
20 |
DIST elfutils-0.167.tar.bz2 6456047 SHA256 3f300087c42b6f35591163b48246b4098ce39c4c6f5d55a83023c903c5776553 SHA512 855b27b7b2785265e095a5c28518b9765238bbcdc8aefede11453e9727156b71360a4b0e2634f2c3813d4b632d3be7079b2d952701bf0455a9c2c19f7facdc91 WHIRLPOOL 1eccbdf65e75c36d7e7704e34eb824d8f54aa4d5879c8df174a1121889fd796cd0aaf5e727f07f361da301659f23d7167e5e59e6a039003def0411d0d01a570e |
21 |
+DIST elfutils-0.168.tar.bz2 6840399 SHA256 b88d07893ba1373c7dd69a7855974706d05377766568a7d9002706d5de72c276 SHA512 c8f2077ffe6877ad9e9d2f553bf0576361799c601d246f53e1d99a6f7046794c5916e1087b97ad1d1e5f59f9debc20384f864d507ef6c4c75a8e767d15d6eb91 WHIRLPOOL 281e6917ad243c4f28dad48801d43c29b503da0198f1cd882b6e378b9016e0843088185a39909db75295484f28b963b711f68b80dc6cc810b3027a2ea5cce556 |
22 |
|
23 |
diff --git a/dev-libs/elfutils/elfutils-0.168.ebuild b/dev-libs/elfutils/elfutils-0.168.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000..c842149 |
26 |
--- /dev/null |
27 |
+++ b/dev-libs/elfutils/elfutils-0.168.ebuild |
28 |
@@ -0,0 +1,59 @@ |
29 |
+# Copyright 1999-2016 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI="5" |
33 |
+ |
34 |
+inherit eutils flag-o-matic multilib-minimal |
35 |
+ |
36 |
+DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" |
37 |
+HOMEPAGE="http://elfutils.org/" |
38 |
+SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" |
39 |
+ |
40 |
+LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" |
43 |
+IUSE="bzip2 lzma nls static-libs test +threads +utils" |
44 |
+ |
45 |
+RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
46 |
+ bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) |
47 |
+ lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] ) |
48 |
+ !dev-libs/libelf" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ nls? ( sys-devel/gettext ) |
51 |
+ >=sys-devel/flex-2.5.4a |
52 |
+ sys-devel/m4" |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch |
56 |
+ use static-libs || sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in |
57 |
+ sed -i 's:-Werror::' */Makefile.in |
58 |
+} |
59 |
+ |
60 |
+src_configure() { |
61 |
+ use test && append-flags -g #407135 |
62 |
+ multilib-minimal_src_configure |
63 |
+} |
64 |
+ |
65 |
+multilib_src_configure() { |
66 |
+ ECONF_SOURCE="${S}" econf \ |
67 |
+ $(use_enable nls) \ |
68 |
+ $(use_enable threads thread-safety) \ |
69 |
+ --program-prefix="eu-" \ |
70 |
+ --with-zlib \ |
71 |
+ $(use_with bzip2 bzlib) \ |
72 |
+ $(use_with lzma) |
73 |
+} |
74 |
+ |
75 |
+multilib_src_test() { |
76 |
+ env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ |
77 |
+ LC_ALL="C" \ |
78 |
+ emake check |
79 |
+} |
80 |
+ |
81 |
+multilib_src_install_all() { |
82 |
+ einstalldocs |
83 |
+ dodoc NOTES |
84 |
+ # These build quick, and are needed for most tests, so don't |
85 |
+ # disable their building when the USE flag is disabled. |
86 |
+ use utils || rm -rf "${ED}"/usr/bin |
87 |
+} |