summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-09 22:52:34 +0000
committerSam James <sam@gentoo.org>2021-06-09 23:55:52 +0000
commitf059f984ad2247c48ae6eefd897b825d36916d6b (patch)
tree70311ea6f217160522cbb706ce3d9766c36ebff8 /dev-util
parentdev-util/elfkickers: add github remote-id (diff)
downloadgentoo-f059f984ad2247c48ae6eefd897b825d36916d6b.tar.gz
gentoo-f059f984ad2247c48ae6eefd897b825d36916d6b.tar.bz2
gentoo-f059f984ad2247c48ae6eefd897b825d36916d6b.zip
dev-util/elfkickers: add 3.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/elfkickers/Manifest1
-rw-r--r--dev-util/elfkickers/elfkickers-3.2.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-util/elfkickers/Manifest b/dev-util/elfkickers/Manifest
index 9ec6982fc21..4a29c8469b0 100644
--- a/dev-util/elfkickers/Manifest
+++ b/dev-util/elfkickers/Manifest
@@ -1 +1,2 @@
DIST ELFkickers-3.1a.tar.gz 101709 BLAKE2B f4e32be84bb05d0f5823fb09d60596086d70f726312285ce847b79ed7f08eed936cf72a9eff92123c4fecee9e4748a83363a05075a29d04490bd02701d53bc59 SHA512 a3ec3c1d5062c67e0108a04ea9a7e9d88d1e5090af887544be756f3269a28950d1211908b74da287d82975dada4a6ea30686b5a3cffa203b9ebf835a5c13d408
+DIST ELFkickers-3.2.tar.gz 108555 BLAKE2B d9ed0c6a2a782e7178480436d526674661af1f625788a28c8e41b97cabb1412f083b492fd36778de17ded7d123003dde878a45af9a63cf7c1e7bff860dc3a0d1 SHA512 ea8b274030880579a44149a1c093e0dce2d9889729f5b4bf1a998d97a78f9bb3cf3fdec807eafda964060fd464a44d4992b35a397737724f7f95732186b8b3ea
diff --git a/dev-util/elfkickers/elfkickers-3.2.ebuild b/dev-util/elfkickers/elfkickers-3.2.ebuild
new file mode 100644
index 00000000000..eabb5ab6feb
--- /dev/null
+++ b/dev-util/elfkickers/elfkickers-3.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_PN=${PN/elf/ELF}-${PV}
+
+DESCRIPTION="Collection of programs to manipulate ELF files: sstrip, rebind, elfls, elftoc"
+HOMEPAGE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html"
+SRC_URI="http://www.muppetlabs.com/~breadbox/pub/software/${MY_PN}.tar.gz"
+S="${WORKDIR}"/${MY_PN}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~mips ~sparc ~x86"
+IUSE="doc"
+
+DEPEND="app-misc/pax-utils"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.1-respect-CFLAGS-LDFLAGS.patch
+ "${FILESDIR}"/${PN}-3.1-create-destdir-path.patch
+ "${FILESDIR}"/add-freebsd-elf-defs.patch
+ "${FILESDIR}"/${PN}-3.1-AR.patch
+)
+
+src_prepare() {
+ default
+
+ tc-export AR CC
+
+ sed -i -e "s:^prefix = /usr/local:prefix = \${DESTDIR}/:" Makefile \
+ || die "sed failed"
+}