/[gentoo-x86]/dev-util/elfkickers/elfkickers-3.0-r1.ebuild
Gentoo

Contents of /dev-util/elfkickers/elfkickers-3.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Sep 16 16:49:51 2011 UTC (3 years ago) by jer
Branch: MAIN
Changes since 1.6: +2 -2 lines
Marked ~hppa (bug #380085).

(Portage version: 2.2.0_alpha58/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/elfkickers/elfkickers-3.0-r1.ebuild,v 1.6 2011/09/06 18:07:00 mattst88 Exp $
4
5 EAPI="4"
6
7 inherit eutils toolchain-funcs
8
9 MY_PN=${PN/elf/ELF}-${PV}
10 S=${WORKDIR}/${MY_PN}
11
12 DESCRIPTION="collection of programs to manipulate ELF files: sstrip, rebind, elfls, elftoc"
13 HOMEPAGE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html"
14 SRC_URI="http://www.muppetlabs.com/~breadbox/pub/software/${MY_PN}.tar.gz"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="amd64 ~arm ~hppa ~mips x86"
19 IUSE="doc"
20
21 DEPEND="app-misc/pax-utils"
22 RDEPEND=""
23
24 src_prepare() {
25 epatch "${FILESDIR}"/respect-CFLAGS-LDFLAGS.patch
26 epatch "${FILESDIR}"/create-destdir-path.patch
27 sed -i -e "s:^prefix = /usr/local:prefix = ${D}:" Makefile \
28 || die "sed failed"
29 }
30
31 src_compile() {
32 emake CC=$(tc-getCC) all
33 }

  ViewVC Help
Powered by ViewVC 1.1.20