blob: 29eb1390d9de07fded2fb9caaa80f166f3f2a1d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/elfkickers/elfkickers-2.0a.ebuild,v 1.5 2003/11/11 12:59:40 vapier Exp $
MY_PN=${PN/elf/ELF}
S=${WORKDIR}/${MY_PN}
DESCRIPTION="collection of programs to manipulate ELF files: sstrip, rebind, elfls, elftoc, ebfc"
HOMEPAGE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html"
SRC_URI="http://www.muppetlabs.com/~breadbox/pub/software/${MY_PN}-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 sparc"
DEPEND="virtual/glibc
dev-lang/nasm"
src_unpack() {
unpack ${A}
# custom made patch to keep the compiler warnings down
epatch ${FILESDIR}/${P}.diff
}
src_compile() {
emake -C ebfc
emake -C elfls
emake -C elftoc
emake -C rebind
emake -C sstrip
# emake -C tiny
}
src_install() {
cd ${S}
mv -f ebfc/README README.ebfc
mv -f elfls/README README.elfls
mv -f elftoc/README README.elftoc
mv -f rebind/README README.rebind
mv -f sstrip/README README.sstrip
insinto /usr
dobin ebfc/ebfc sstrip/sstrip elfls/elfls elftoc/elftoc rebind/rebind
doman */*.1
dodoc COPYING Changelog README
dodoc README.ebfc README.elfls README.elftoc README.rebind README.sstrip ebfc/elfparts.txt
}
|