Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/elfutils: ChangeLog elfutils-0.152.ebuild
Date: Sun, 27 Feb 2011 09:39:15
Message-Id: 20110227093906.58CBD20054@flycatcher.gentoo.org
1 dirtyepic 11/02/27 09:39:06
2
3 Modified: ChangeLog
4 Added: elfutils-0.152.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.151 dev-libs/elfutils/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.151&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.151&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?r1=1.150&r2=1.151
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v
20 retrieving revision 1.150
21 retrieving revision 1.151
22 diff -u -r1.150 -r1.151
23 --- ChangeLog 22 Jan 2011 11:25:37 -0000 1.150
24 +++ ChangeLog 27 Feb 2011 09:39:06 -0000 1.151
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/elfutils
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.150 2011/01/22 11:25:37 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.151 2011/02/27 09:39:06 dirtyepic Exp $
30 +
31 +*elfutils-0.152 (27 Feb 2011)
32 +
33 + 27 Feb 2011; Ryan Hill <dirtyepic@g.o> +elfutils-0.152.ebuild:
34 + Version bump.
35
36 22 Jan 2011; Raúl Porcel <armin76@g.o> elfutils-0.149.ebuild:
37 alpha/ia64/s390/sh/sparc stable wrt #348407
38
39
40
41 1.1 dev-libs/elfutils/elfutils-0.152.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.152.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.152.ebuild?rev=1.1&content-type=text/plain
45
46 Index: elfutils-0.152.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.152.ebuild,v 1.1 2011/02/27 09:39:06 dirtyepic Exp $
51
52 inherit eutils
53
54 DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
55 HOMEPAGE="https://fedorahosted.org/elfutils"
56 SRC_URI="https://fedorahosted.org/releases/e/l/elfutils/${PV}/${P}.tar.bz2"
57
58 LICENSE="GPL-2-with-exceptions"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
61 IUSE="bzip2 lzma nls zlib elibc_glibc"
62
63 # This pkg does not actually seem to compile currently in a uClibc
64 # environment (xrealloc errs), but we need to ensure that glibc never
65 # gets pulled in as a dep since this package does not respect virtual/libc
66 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.2.3 )
67 bzip2? ( app-arch/bzip2 )
68 lzma? ( app-arch/xz-utils )"
69 DEPEND="${RDEPEND}
70 elibc_glibc? ( !prefix? ( >=sys-libs/glibc-2.7 ) )
71 nls? ( sys-devel/gettext )
72 >=sys-devel/flex-2.5.4a
73 sys-devel/m4
74 >=sys-devel/binutils-2.15.90.0.1
75 >=sys-devel/gcc-4.1.2
76 !dev-libs/libelf"
77
78 src_unpack() {
79 unpack ${A}
80 cd "${S}"
81 epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
82 epatch "${FILESDIR}"/${PN}-0.150-bashifications.patch #287130
83 find . -name Makefile.in -print0 | xargs -0 sed -i -e 's:-W\(error\|extra\)::g'
84 use test || sed -i -e 's: tests::' Makefile.in #226349
85 }
86
87 src_compile() {
88 econf \
89 $(use_enable nls) \
90 --program-prefix="eu-" \
91 $(use_with zlib) \
92 $(use_with bzip2 bzlib) \
93 $(use_with lzma)
94
95 emake || die
96 }
97
98 src_test() {
99 env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
100 LC_ALL="C" \
101 emake -j1 check || die "test failed"
102 }
103
104 src_install() {
105 emake DESTDIR="${D}" install || die
106 dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
107 }