diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/elfkickers/elfkickers-3.0a.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/elfkickers/elfkickers-3.0a.ebuild')
-rw-r--r-- | dev-util/elfkickers/elfkickers-3.0a.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-util/elfkickers/elfkickers-3.0a.ebuild b/dev-util/elfkickers/elfkickers-3.0a.ebuild new file mode 100644 index 000000000000..7e9fab33ac24 --- /dev/null +++ b/dev-util/elfkickers/elfkickers-3.0a.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils 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 ~x86-fbsd" +IUSE="doc" + +DEPEND="app-misc/pax-utils" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/respect-CFLAGS-LDFLAGS.patch + epatch "${FILESDIR}"/create-destdir-path.patch + epatch "${FILESDIR}"/add-freebsd-elf-defs.patch + sed -i -e "s:^prefix = /usr/local:prefix = ${D}:" Makefile \ + || die "sed failed" +} + +src_compile() { + emake CC=$(tc-getCC) all +} |