summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-28 19:35:29 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-28 19:35:29 +0000
commit7f1bee009ffde387e083e1316c0df7fe189bee39 (patch)
tree61bfb89498dca654c2597fc0ce63b1761df642cf /sys-apps/hexdump-esr
parentRespect LDFLAGS (bug #337115), CC, more CFLAGS. Make sed die. Remove empty DE... (diff)
downloadgentoo-2-7f1bee009ffde387e083e1316c0df7fe189bee39.tar.gz
gentoo-2-7f1bee009ffde387e083e1316c0df7fe189bee39.tar.bz2
gentoo-2-7f1bee009ffde387e083e1316c0df7fe189bee39.zip
Respect LDFLAGS (bug #337229), more CFLAGS.
(Portage version: 2.2_rc86/cvs/Linux i686)
Diffstat (limited to 'sys-apps/hexdump-esr')
-rw-r--r--sys-apps/hexdump-esr/ChangeLog7
-rw-r--r--sys-apps/hexdump-esr/hexdump-esr-1.6-r1.ebuild37
2 files changed, 43 insertions, 1 deletions
diff --git a/sys-apps/hexdump-esr/ChangeLog b/sys-apps/hexdump-esr/ChangeLog
index 64a2776af510..cc771a24510e 100644
--- a/sys-apps/hexdump-esr/ChangeLog
+++ b/sys-apps/hexdump-esr/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/hexdump-esr
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hexdump-esr/ChangeLog,v 1.7 2010/01/07 21:46:25 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hexdump-esr/ChangeLog,v 1.8 2010/09/28 19:35:29 jer Exp $
+
+*hexdump-esr-1.6-r1 (28 Sep 2010)
+
+ 28 Sep 2010; Jeroen Roovers <jer@gentoo.org> +hexdump-esr-1.6-r1.ebuild:
+ Respect LDFLAGS (bug #337229), more CFLAGS.
07 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
hexdump-esr-1.6.ebuild:
diff --git a/sys-apps/hexdump-esr/hexdump-esr-1.6-r1.ebuild b/sys-apps/hexdump-esr/hexdump-esr-1.6-r1.ebuild
new file mode 100644
index 000000000000..fb2b02e7c34b
--- /dev/null
+++ b/sys-apps/hexdump-esr/hexdump-esr-1.6-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hexdump-esr/hexdump-esr-1.6-r1.ebuild,v 1.1 2010/09/28 19:35:29 jer Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+MY_P=${P/-esr/}
+DESCRIPTION="Eric Raymond's hex dumper"
+HOMEPAGE="http://www.catb.org/~esr/hexdump/"
+SRC_URI="http://www.catb.org/~esr/hexdump/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i Makefile \
+ -e 's|-O ||g' \
+ || die "sed Makefile"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" || die
+ mv hexdump hexdump-esr
+ mv hexdump.1 hexdump-esr.1
+}
+
+src_install() {
+ dobin hexdump-esr || die
+ doman hexdump-esr.1
+ dodoc README
+ dosym hexdump-esr /usr/bin/hex
+}