summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-09-21 02:24:56 +0000
committerMike Frysinger <vapier@gentoo.org>2004-09-21 02:24:56 +0000
commita168197eb8ebd3da568b598212e8736c33c36d04 (patch)
tree0f29a3bddba2026b2236d1fe6dfe1f80b666c12d /dev-util/elfsh/elfsh-0.51_beta3.ebuild
parentver bump for security #64809 (diff)
downloadhistorical-a168197eb8ebd3da568b598212e8736c33c36d04.tar.gz
historical-a168197eb8ebd3da568b598212e8736c33c36d04.tar.bz2
historical-a168197eb8ebd3da568b598212e8736c33c36d04.zip
re-import
Diffstat (limited to 'dev-util/elfsh/elfsh-0.51_beta3.ebuild')
-rw-r--r--dev-util/elfsh/elfsh-0.51_beta3.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-util/elfsh/elfsh-0.51_beta3.ebuild b/dev-util/elfsh/elfsh-0.51_beta3.ebuild
new file mode 100644
index 000000000000..83c4f5cec0de
--- /dev/null
+++ b/dev-util/elfsh/elfsh-0.51_beta3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/elfsh/elfsh-0.51_beta3.ebuild,v 1.1 2004/09/21 02:24:56 vapier Exp $
+
+inherit eutils
+
+MY_PV=${PV/_beta/b}
+S=${WORKDIR}/${PN}-${MY_PV}
+DESCRIPTION="scripting language to modify ELF binaries"
+HOMEPAGE="http://elfsh.segfault.net/"
+SRC_URI="mirror://gentoo/elfsh-${MY_PV}-portable.tgz"
+#http://elfsh.segfault.net/files/elfsh-${MY_PV}-portable.tgz
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/libc
+ >=dev-libs/expat-1.95
+ >=sys-devel/gettext-0.11"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-gentoo.patch
+ sed -i \
+ -e "s:-g3 -O2:${CFLAGS}:" \
+ `find -name Makefile` \
+ || die
+}
+
+src_compile() {
+ # emacs does not have to be a requirement.
+ emake ETAGS=echo || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR=${D} || die "einstall failed"
+}