/[gentoo-x86]/sys-apps/sed/sed-4.0.ebuild
Gentoo

Contents of /sys-apps/sed/sed-4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Oct 28 02:40:08 2002 UTC (17 years, 11 months ago) by lostlogic
Branch: MAIN
Big version update from upstream, and minor ebuild fixes, ~arched.

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /space/home/cvsroot/gentoo-x86/sys-apps/sed/sed-3.02.80-r4.ebuild,v 1.4 2002/10/05 05:39:25 drobbins Exp $
4
5 IUSE="nls static build"
6
7 S=${WORKDIR}/${P}
8 DESCRIPTION="Super-useful stream editor"
9 SRC_URI="ftp://ftp.gnu.org/pub/gnu/sed/${P}.tar.gz"
10 HOMEPAGE="http://www.gnu.org/software/sed/sed.html"
11 KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha"
12 SLOT="0"
13 LICENSE="GPL-2"
14
15 DEPEND="virtual/glibc nls? ( sys-devel/gettext )"
16
17 RDEPEND="virtual/glibc"
18
19 src_compile() {
20 local myconf
21 [ -z "`use nls`" ] && myconf="--disable-nls"
22 econf ${myconf} || die
23 if [ -z "`use static`" ]
24 then
25 emake || die
26 else
27 emake LDFLAGS=-static || die
28 fi
29 }
30
31 src_install() {
32 into /
33 dobin sed/sed
34 dodir /usr/bin
35 dosym ../../bin/sed /usr/bin/sed
36 if [ -z "`use build`" ]
37 then
38 into /usr
39 doinfo doc/sed.info
40 doman doc/sed.1
41 dodoc COPYING NEWS README* THANKS TODO AUTHORS BUGS ANNOUNCE ChangeLog
42 else
43 rm -rf ${D}/usr/share
44 fi
45 }

  ViewVC Help
Powered by ViewVC 1.1.20