Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libelf: libelf-0.8.13.ebuild ChangeLog libelf-0.8.9.ebuild libelf-0.8.10.ebuild libelf-0.8.6.ebuild
Date: Sat, 24 Apr 2010 15:07:51
Message-Id: 20100424150745.C5AD22C04C@corvid.gentoo.org
1 ssuominen 10/04/24 15:07:45
2
3 Modified: ChangeLog
4 Added: libelf-0.8.13.ebuild
5 Removed: libelf-0.8.9.ebuild libelf-0.8.10.ebuild
6 libelf-0.8.6.ebuild
7 Log:
8 Version bump.
9 (Portage version: 2.2_rc67/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.29 dev-libs/libelf/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libelf/ChangeLog?rev=1.29&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libelf/ChangeLog?rev=1.29&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libelf/ChangeLog?r1=1.28&r2=1.29
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libelf/ChangeLog,v
21 retrieving revision 1.28
22 retrieving revision 1.29
23 diff -u -r1.28 -r1.29
24 --- ChangeLog 21 Nov 2009 09:24:32 -0000 1.28
25 +++ ChangeLog 24 Apr 2010 15:07:45 -0000 1.29
26 @@ -1,6 +1,11 @@
27 # ChangeLog for dev-libs/libelf
28 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libelf/ChangeLog,v 1.28 2009/11/21 09:24:32 patrick Exp $
30 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libelf/ChangeLog,v 1.29 2010/04/24 15:07:45 ssuominen Exp $
32 +
33 +*libelf-0.8.13 (24 Apr 2010)
34 +
35 + 24 Apr 2010; Samuli Suominen <ssuominen@g.o> +libelf-0.8.13.ebuild:
36 + Version bump.
37
38 *libelf-0.8.12 (21 Nov 2009)
39
40
41
42
43 1.1 dev-libs/libelf/libelf-0.8.13.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libelf/libelf-0.8.13.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libelf/libelf-0.8.13.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libelf-0.8.13.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libelf/libelf-0.8.13.ebuild,v 1.1 2010/04/24 15:07:45 ssuominen Exp $
53
54 EAPI=2
55 inherit eutils multilib
56
57 DESCRIPTION="A ELF object file access library"
58 HOMEPAGE="http://www.mr511.de/software/"
59 SRC_URI="http://www.mr511.de/software/${P}.tar.gz"
60
61 LICENSE="LGPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
64 IUSE="debug nls elibc_FreeBSD"
65
66 RDEPEND="!dev-libs/elfutils"
67 DEPEND="${RDEPEND}
68 nls? ( sys-devel/gettext )"
69
70 src_prepare() {
71 if use elibc_FreeBSD; then
72 # Stop libelf from stamping on the system nlist.h
73 sed -i \
74 -e 's:nlist.h::g' \
75 lib/Makefile.in || die
76
77 # Enable shared libs
78 sed -i \
79 -e 's:\*-linux\*\|\*-gnu\*:\*-linux\*\|\*-gnu\*\|\*-freebsd\*:' \
80 configure || die
81 fi
82
83 sed -i \
84 -e 's:$(LINK_SHLIB) -o:$(LINK_SHLIB) $(LDFLAGS) -o:' \
85 lib/Makefile.in || die
86 }
87
88 src_configure() {
89 econf \
90 $(use_enable nls) \
91 --enable-shared \
92 $(use_enable debug)
93 }
94
95 src_install() {
96 emake -j1 \
97 prefix="${D}usr" \
98 libdir="${D}usr/$(get_libdir)" \
99 install \
100 install-compat || die
101 dodoc ChangeLog README
102 }