/[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.6 - (hide annotations) (download)
Sat May 2 20:29:16 2009 UTC (5 years, 2 months ago) by halcy0n
Branch: MAIN
Changes since 1.5: +3 -3 lines
Update homepage, thanks to Olivier Huber <oli DOT huber AT gmail DOT com> for reporting; bug #268330
(Portage version: 2.2_rc31/cvs/Linux i686)

1 halcy0n 1.6 # Copyright 1999-2009 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 halcy0n 1.6 # $Header: /var/cvsroot/gentoo-x86/dev-util/elfsh/elfsh-0.51_beta3.ebuild,v 1.5 2007/01/06 23:00:43 malc 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 halcy0n 1.6 HOMEPAGE="http://www.eresi-project.org/"
11 vapier 1.1 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 vapier 1.3 KEYWORDS="~amd64 ~ppc ~x86"
17 vapier 1.1 IUSE=""
18    
19 solar 1.4 DEPEND=">=dev-libs/expat-1.95"
20 vapier 1.1
21     src_unpack() {
22     unpack ${A}
23 vapier 1.3 cd "${S}"
24     epatch "${FILESDIR}"/${PV}-gentoo.patch
25 vapier 1.1 sed -i \
26     -e "s:-g3 -O2:${CFLAGS}:" \
27     `find -name Makefile` \
28     || die
29 malc 1.5 sed -i -e "s:LIBPATH = \$(PREFIX)/lib:LIBPATH = \$(PREFIX)/$(get_libdir):" Makefile
30    
31 vapier 1.1 }
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 vapier 1.3 make install DESTDIR="${D}" || die "einstall failed"
40 vapier 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20