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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Sun Apr 1 15:12:29 2012 UTC (6 years, 1 month ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
sparc stable wrt #404735

(Portage version: 2.1.10.53/cvs/Linux ia64)

1 ago 1.2 # Copyright 1999-2012 Gentoo Foundation
2 blueness 1.1 # Distributed under the terms of the GNU General Public License v2
3 armin76 1.5 # $Header: /var/cvsroot/gentoo-x86/dev-util/elfkickers/elfkickers-3.0a.ebuild,v 1.4 2012/03/16 16:00:45 tomka Exp $
4 blueness 1.1
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 armin76 1.5 KEYWORDS="amd64 arm ~hppa ~mips sparc x86 ~x86-fbsd"
19 blueness 1.1 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     epatch "${FILESDIR}"/add-freebsd-elf-defs.patch
28     sed -i -e "s:^prefix = /usr/local:prefix = ${D}:" Makefile \
29     || die "sed failed"
30     }
31    
32     src_compile() {
33     emake CC=$(tc-getCC) all
34     }

  ViewVC Help
Powered by ViewVC 1.1.20