/[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.2 - (hide annotations) (download)
Sun Oct 17 09:23:43 2004 UTC (9 years, 11 months ago) by dholm
Branch: MAIN
Changes since 1.1: +2 -2 lines
Added to ~ppc

1 vapier 1.1 # Copyright 1999-2004 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 dholm 1.2 # $Header: /var/cvsroot/gentoo-x86/dev-util/elfsh/elfsh-0.51_beta3.ebuild,v 1.1 2004/09/21 02:24:56 vapier Exp $
4 vapier 1.1
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 dholm 1.2 KEYWORDS="~x86 ~ppc"
17 vapier 1.1 IUSE=""
18    
19     DEPEND="virtual/libc
20     >=dev-libs/expat-1.95
21     >=sys-devel/gettext-0.11"
22    
23     src_unpack() {
24     unpack ${A}
25     cd ${S}
26     epatch ${FILESDIR}/${PV}-gentoo.patch
27     sed -i \
28     -e "s:-g3 -O2:${CFLAGS}:" \
29     `find -name Makefile` \
30     || die
31     }
32    
33     src_compile() {
34     # emacs does not have to be a requirement.
35     emake ETAGS=echo || die "emake failed"
36     }
37    
38     src_install() {
39     make install DESTDIR=${D} || die "einstall failed"
40     }

  ViewVC Help
Powered by ViewVC 1.1.20