blob: b3ce607d856105da58c8caaf47a022c9c5f62b96 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfsh/elfsh-0.51_beta3.ebuild,v 1.2 2003/11/11 13:02:05 vapier Exp $
MY_PV=${PV/_beta/b}
S=${WORKDIR}/${PN}-${MY_PV}
DESCRIPTION="interactive and scriptable ELF machine to play with executable files, shared libraries and relocatable ELF32 objects"
HOMEPAGE="http://devhell.org/projects/elfsh"
SRC_URI="http://elfsh.segfault.net/files/elfsh-${MY_PV}-portable.tgz
http://devhell.org/projects/elfsh/files/elfsh-${MY_PV}-portable.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
DEPEND="virtual/glibc
>=dev-libs/expat-1.95
>=sys-devel/gettext-0.11"
src_unpack() {
unpack ${A}
cd ${S}
#[ -f ${FILESDIR}/${PN}-${MY_PV}.diff ] &&
# epatch ${FILESDIR}/${PN}-${MY_PV}.diff
epatch ${FILESDIR}/${PN}-0.51b2.diff
}
src_compile() {
# emacs does not have to be a requirement.
emake ETAGS=echo || die "emake failed"
}
src_install() {
dodir /usr/share/elfsh
einstall DESTDIR=${D} || die "einstall failed"
}
|