From: Anthony G. Basile Date: Tue, 19 Nov 2019 13:52:16 +0000 (-0500) Subject: dev-util/elfkickers: version bump to 3.1a X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b5e4991db94c8eda96aeff34218edd96d7f5553d;p=gentoo.git dev-util/elfkickers: version bump to 3.1a Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Anthony G. Basile --- diff --git a/dev-util/elfkickers/Manifest b/dev-util/elfkickers/Manifest index 1868e9d3837d..fc20901c0db6 100644 --- a/dev-util/elfkickers/Manifest +++ b/dev-util/elfkickers/Manifest @@ -1,2 +1,3 @@ DIST ELFkickers-3.0a.tar.gz 100112 BLAKE2B 3fad92a6fd0cb285d8df2d529f95eccd7df8382925520989a3096354170535e02c890f5d5b4f6ae5a520750afe2477625371ee71f1bfc5d6b35d752749c7dc5a SHA512 c90a763e5b60069f9cb67fd5c114da753184ff466c3db1dd9a44e86de9408a4384a3ac00a8c67191ca9a6556fd0db11058542361e987710f9b5bedabaec2717c DIST ELFkickers-3.1.tar.gz 101406 BLAKE2B 8de2c27904909ede753b94cebe87789b27f02f98ce54342031330579a7ae021585117be4b61d8c7895c9c6a2c9b33f398cde9be1070ccbe24e51669db59bba73 SHA512 a0b1ba6cdb23b12f41b81cac1960b15cc2a4418cef48923900b668fa5132ce428bab16b1780698864fdf0c374762d57f471fc124d231f8de143be172c757000b +DIST ELFkickers-3.1a.tar.gz 101709 BLAKE2B f4e32be84bb05d0f5823fb09d60596086d70f726312285ce847b79ed7f08eed936cf72a9eff92123c4fecee9e4748a83363a05075a29d04490bd02701d53bc59 SHA512 a3ec3c1d5062c67e0108a04ea9a7e9d88d1e5090af887544be756f3269a28950d1211908b74da287d82975dada4a6ea30686b5a3cffa203b9ebf835a5c13d408 diff --git a/dev-util/elfkickers/elfkickers-3.1a.ebuild b/dev-util/elfkickers/elfkickers-3.1a.ebuild new file mode 100644 index 000000000000..7faed18f930f --- /dev/null +++ b/dev-util/elfkickers/elfkickers-3.1a.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +MY_PN=${PN/elf/ELF}-${PV} +S=${WORKDIR}/${MY_PN} + +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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~mips ~sparc ~x86" +IUSE="doc" + +DEPEND="app-misc/pax-utils" +RDEPEND="" + +PATCHES=( + "${FILESDIR}"/${PN}-3.1-respect-CFLAGS-LDFLAGS.patch + "${FILESDIR}"/${PN}-3.1-create-destdir-path.patch + "${FILESDIR}"/add-freebsd-elf-defs.patch +) + +src_prepare() { + default + sed -i -e "s:^prefix = /usr/local:prefix = ${D}:" Makefile \ + || die "sed failed" +} + +src_compile() { + emake CC=$(tc-getCC) all +}