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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Fri Mar 5 22:06:33 2010 UTC (4 years, 5 months ago) by solar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +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-2008 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-r3.ebuild,v 1.9 2008/11/04 23:15:10 vapier 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 mirror://gentoo/elfkickers-2.0a-r2.patch.bz2"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="amd64 arm hppa ~mips ppc ppc64 sparc x86"
18 IUSE="doc"
19
20 DEPEND=""
21
22 src_unpack() {
23 unpack ${A}
24 cd "${S}"
25 epatch "${WORKDIR}"/elfkickers-2.0a-r2.patch
26
27 sed -i -e '/^SUBDIRS/s:tiny::' Makefile
28 use x86 || sed -i -e '/^SUBDIRS/s:ebfc::' Makefile
29 use x86 && sed -i -e 's:linux/elf.h:elf.h:' ebfc/*.c
30 }
31
32 src_install() {
33 for d in elfls elftoc rebind sstrip ; do
34 newdoc ${d}/README README.${d}
35 dobin ${d}/${d} || die "dobin ${d} failed"
36 done
37 if use x86 ; then
38 newdoc ebfc/README README.ebfc
39 dobin ebfc/ebfc || die "dobin ebfc failed"
40 fi
41
42 doman */*.1
43 dodoc Changelog README ebfc/elfparts.txt
44 if use doc ; then
45 docinto tiny
46 dodoc tiny/*.asm
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20