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

Contents of /dev-util/elfkickers/elfkickers-2.0a-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Mar 5 22:06:33 2010 UTC (4 years, 6 months ago) by solar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
- flush old ebuilds. make sure docs are handled right. (bug 305549)
(Portage version: 2.1.7.17/cvs/Linux x86_64)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/elfkickers/elfkickers-2.0a-r1.ebuild,v 1.4 2006/08/12 18:50:34 weeve Exp $
4
5 inherit eutils
6
7 MY_PN=${PN/elf/ELF}
8 S=${WORKDIR}/${MY_PN}
9
10 DESCRIPTION="collection of programs to manipulate ELF files: sstrip, rebind, elfls, elftoc, ebfc"
11 HOMEPAGE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html"
12 SRC_URI="http://www.muppetlabs.com/~breadbox/pub/software/${MY_PN}-${PV}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 arm ~hppa ~mips ppc sparc x86"
17 IUSE="doc"
18
19 DEPEND=""
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24 epatch "${FILESDIR}"/${P}.diff
25 epatch "${FILESDIR}"/${P}-elfls-core.patch
26 epatch "${FILESDIR}"/${P}-make.patch
27 epatch "${FILESDIR}"/${P}-bsd.patch
28
29 cp "${FILESDIR}"/sstrip-mjn3.c sstrip/sstrip.c || die "failed to update sstrip"
30
31 sed -i -e '/^SUBDIRS/s:tiny::' Makefile
32 use x86 || sed -i -e '/^SUBDIRS/s:ebfc::' Makefile
33 }
34
35 src_install() {
36 for d in elfls elftoc rebind sstrip ; do
37 newdoc ${d}/README README.${d}
38 dobin ${d}/${d} || die "dobin ${d} failed"
39 done
40 if use x86 ; then
41 newdoc ebfc/README README.ebfc
42 dobin ebfc/ebfc || die "dobin ebfc failed"
43 fi
44
45 doman */*.1
46 dodoc Changelog README ebfc/elfparts.txt
47 if use doc ; then
48 docinto tiny
49 dodoc tiny/*.asm
50 fi
51 }

  ViewVC Help
Powered by ViewVC 1.1.20