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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Mar 5 22:06:33 2010 UTC (4 years, 7 months ago) by solar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +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-2007 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-r2.ebuild,v 1.1 2007/05/16 19:37:09 solar 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 ~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 }
30
31 src_install() {
32 for d in elfls elftoc rebind sstrip ; do
33 newdoc ${d}/README README.${d}
34 dobin ${d}/${d} || die "dobin ${d} failed"
35 done
36 if use x86 ; then
37 newdoc ebfc/README README.ebfc
38 dobin ebfc/ebfc || die "dobin ebfc failed"
39 fi
40
41 doman */*.1
42 dodoc Changelog README ebfc/elfparts.txt
43 if use doc ; then
44 docinto tiny
45 dodoc tiny/*.asm
46 fi
47 }

  ViewVC Help
Powered by ViewVC 1.1.20