summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-04 06:13:22 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-04 06:13:22 +0000
commitdd1b669994ae198931b53f6c535f5a9efa900f95 (patch)
tree0ba77c9473e212b6f4c11b8366cb5b72b9279178 /dev-util/elfsh
parentx86 stable for bug #124068. (diff)
downloadgentoo-2-dd1b669994ae198931b53f6c535f5a9efa900f95.tar.gz
gentoo-2-dd1b669994ae198931b53f6c535f5a9efa900f95.tar.bz2
gentoo-2-dd1b669994ae198931b53f6c535f5a9efa900f95.zip
Version bump.
(Portage version: 2.1_pre5-r2)
Diffstat (limited to 'dev-util/elfsh')
-rw-r--r--dev-util/elfsh/ChangeLog9
-rw-r--r--dev-util/elfsh/elfsh-0.65_rc1.ebuild56
-rw-r--r--dev-util/elfsh/files/digest-elfsh-0.65_rc13
3 files changed, 66 insertions, 2 deletions
diff --git a/dev-util/elfsh/ChangeLog b/dev-util/elfsh/ChangeLog
index 74d51a10c894..a806e977ac6f 100644
--- a/dev-util/elfsh/ChangeLog
+++ b/dev-util/elfsh/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/elfsh
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/elfsh/ChangeLog,v 1.4 2006/01/27 00:01:10 solar Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/elfsh/ChangeLog,v 1.5 2006/03/04 06:13:22 vapier Exp $
+
+*elfsh-0.65_rc1 (04 Mar 2006)
+
+ 04 Mar 2006; Mike Frysinger <vapier@gentoo.org> +elfsh-0.65_rc1.ebuild:
+ Version bump.
26 Jan 2006; <solar@gentoo.org> elfsh-0.51_beta3.ebuild:
- removed unneeded gettext depend
diff --git a/dev-util/elfsh/elfsh-0.65_rc1.ebuild b/dev-util/elfsh/elfsh-0.65_rc1.ebuild
new file mode 100644
index 000000000000..e4c0bc87087d
--- /dev/null
+++ b/dev-util/elfsh/elfsh-0.65_rc1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/elfsh/elfsh-0.65_rc1.ebuild,v 1.1 2006/03/04 06:13:22 vapier Exp $
+
+inherit eutils toolchain-funcs
+
+MY_PV=${PV/_/}
+DESCRIPTION="scripting language to modify ELF binaries"
+HOMEPAGE="http://elfsh.segfault.net/"
+SRC_URI="mirror://gentoo/elfsh-${MY_PV}.tgz"
+#http://elfsh.segfault.net/files/elfsh-${MY_PV}-portable.tgz
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-*"
+IUSE="readline"
+
+DEPEND=">=dev-libs/expat-1.95
+ readline? ( sys-libs/readline )"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's: -O2 : :g' \
+ -e "s: -g3 : ${CFLAGS} :" \
+ -e "/^LDFLAGS/s:=:=${LDFLAGS} :" \
+ $(find -name Makefile) \
+ || die
+}
+
+src_compile() {
+ local bits
+ touch foo.c && $(tc-getCC) -c foo.c -o foo.o || die
+ case $(file foo.o) in
+ *64-bit*) bits=64;;
+ *32-bit*) bits=32;;
+ *) die "unknown bits: $(file foo.o)";;
+ esac
+ # not an autoconf script
+ ./configure \
+ $([[ ${bits} == "64" ]] && echo "--enable-m64") \
+ --enable-${bits} \
+ $(use_enable readline) \
+ || die
+ # emacs does not have to be a requirement.
+ emake ETAGS=echo || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "install failed"
+ dodoc README.FIRST doc/AUTHOR doc/CREDITS doc/Changelog doc/*.txt
+ doman doc/*.1
+}
diff --git a/dev-util/elfsh/files/digest-elfsh-0.65_rc1 b/dev-util/elfsh/files/digest-elfsh-0.65_rc1
new file mode 100644
index 000000000000..a29440951521
--- /dev/null
+++ b/dev-util/elfsh/files/digest-elfsh-0.65_rc1
@@ -0,0 +1,3 @@
+MD5 597a347bc30fc22bb95dc698f9b087d8 elfsh-0.65rc1.tgz 326670
+RMD160 b70f3a71d14413c35bd26c8a6cf25493c7751cbd elfsh-0.65rc1.tgz 326670
+SHA256 4b1eba142127d875090b100914d1b20198a1e3116eb98208da92a6004bfb7e97 elfsh-0.65rc1.tgz 326670