Gentoo Archives: gentoo-commits

From: "Ned Ludd (solar)" <solar@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/elfkickers: ChangeLog elfkickers-2.0a-r4.ebuild
Date: Tue, 01 Jan 2008 02:21:32
Message-Id: E1J9Wks-0001o0-4o@stork.gentoo.org
1 solar 08/01/01 02:21:22
2
3 Modified: ChangeLog
4 Added: elfkickers-2.0a-r4.ebuild
5 Log:
6 - little more hacking on making these tools work for both 32 and 64 bit ELF files.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.23 dev-util/elfkickers/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/elfkickers/ChangeLog?rev=1.23&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/elfkickers/ChangeLog?rev=1.23&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/elfkickers/ChangeLog?r1=1.22&r2=1.23
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/elfkickers/ChangeLog,v
19 retrieving revision 1.22
20 retrieving revision 1.23
21 diff -u -r1.22 -r1.23
22 --- ChangeLog 17 Nov 2007 09:33:00 -0000 1.22
23 +++ ChangeLog 1 Jan 2008 02:21:21 -0000 1.23
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-util/elfkickers
26 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/elfkickers/ChangeLog,v 1.22 2007/11/17 09:33:00 drac Exp $
28 +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/elfkickers/ChangeLog,v 1.23 2008/01/01 02:21:21 solar Exp $
30 +
31 +*elfkickers-2.0a-r4 (01 Jan 2008)
32 +
33 + 01 Jan 2008; <solar@g.o> +elfkickers-2.0a-r4.ebuild:
34 + - little more hacking on making these tools work for both 32 and 64 bit ELF
35 + files.
36
37 17 Nov 2007; Samuli Suominen <drac@g.o> elfkickers-2.0a-r3.ebuild:
38 amd64 stable wrt #197752
39
40
41
42 1.1 dev-util/elfkickers/elfkickers-2.0a-r4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/elfkickers/elfkickers-2.0a-r4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/elfkickers/elfkickers-2.0a-r4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: elfkickers-2.0a-r4.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-util/elfkickers/elfkickers-2.0a-r4.ebuild,v 1.1 2008/01/01 02:21:21 solar Exp $
52
53 inherit eutils multilib
54
55 MY_PN=${PN/elf/ELF}
56 S=${WORKDIR}/${MY_PN}
57
58 DESCRIPTION="collection of programs to manipulate ELF files: sstrip, rebind, elfls, elftoc"
59 HOMEPAGE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html"
60 SRC_URI="http://www.muppetlabs.com/~breadbox/pub/software/${MY_PN}-${PV}.tar.gz
61 mirror://gentoo/elfkickers-2.0a-r2.patch.bz2"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
66 IUSE="doc"
67
68 DEPEND="app-misc/pax-utils"
69 RDEPEND=""
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74 epatch "${WORKDIR}"/elfkickers-2.0a-r2.patch
75
76 sed -i -e '/^SUBDIRS/s:tiny::' Makefile
77 use x86 || sed -i -e '/^SUBDIRS/s:ebfc::' Makefile
78 use x86 && sed -i -e 's:linux/elf.h:elf.h:' ebfc/*.c
79 (cd tiny && make clean)
80 }
81
82
83 src_compile() {
84 for bits in 32 64; do
85 emake CFLAGS="-DELF_CLASS=ELFCLASS${bits} ${CFLAGS}" clean all
86 for x in elfls elftoc rebind sstrip; do
87 mv ${x}/$x{,${bits}} || die "moving failed of ${x}{,${bits}"
88 done
89 done
90 }
91
92 src_install() {
93 for d in elfls elftoc rebind sstrip ; do
94 newdoc ${d}/README README.${d}
95 dobin ${d}/${d}{32,64} || die "dobin ${d}{32,64} failed"
96 doman $d/*.1
97 case $(get_libdir) in
98 lib64) dosym /usr/bin/${d}64 /usr/bin/${d};;
99 lib|lib32) dosym /usr/bin/${d}32 /usr/bin/${d};;
100 esac
101 done
102 dodoc Changelog README
103 }
104
105
106
107 --
108 gentoo-commits@g.o mailing list