/[gentoo-x86]/dev-util/elfsh/elfsh-0.51_beta3.ebuild
Gentoo

Contents of /dev-util/elfsh/elfsh-0.51_beta3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Mar 30 05:48:22 2005 UTC (9 years, 3 months ago) by vapier
Branch: MAIN
Changes since 1.2: +7 -8 lines
amd64 love
(Portage version: 2.0.51.19)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/elfsh/elfsh-0.51_beta3.ebuild,v 1.2 2004/10/17 09:23:43 dholm Exp $
4
5 inherit eutils
6
7 MY_PV=${PV/_beta/b}
8 S=${WORKDIR}/${PN}-${MY_PV}
9 DESCRIPTION="scripting language to modify ELF binaries"
10 HOMEPAGE="http://elfsh.segfault.net/"
11 SRC_URI="mirror://gentoo/elfsh-${MY_PV}-portable.tgz"
12 #http://elfsh.segfault.net/files/elfsh-${MY_PV}-portable.tgz
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~ppc ~x86"
17 IUSE=""
18
19 DEPEND=">=dev-libs/expat-1.95
20 >=sys-devel/gettext-0.11"
21
22 src_unpack() {
23 unpack ${A}
24 cd "${S}"
25 epatch "${FILESDIR}"/${PV}-gentoo.patch
26 sed -i \
27 -e "s:-g3 -O2:${CFLAGS}:" \
28 `find -name Makefile` \
29 || die
30 }
31
32 src_compile() {
33 # emacs does not have to be a requirement.
34 emake ETAGS=echo || die "emake failed"
35 }
36
37 src_install() {
38 make install DESTDIR="${D}" || die "einstall failed"
39 }

  ViewVC Help
Powered by ViewVC 1.1.20