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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.1.1

  ViewVC Help
Powered by ViewVC 1.1.20