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

Contents of /sys-apps/sed/sed-3.02.80-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Dec 21 02:53:18 2001 UTC (18 years, 9 months ago) by drobbins
Branch: MAIN
Changes since 1.1: +22 -31 lines
binutils will now build man pages correctly out of bootstrap; lilo no longer
looks for /etc/rc.d/config/functions; sed no longer uses "try".

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Maintainer: Daniel Robbins <drobbins@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/sys-apps/sed/sed-3.02.80-r3.ebuild,v 1.1 2001/07/28 15:49:20 pete Exp $
5
6 S=${WORKDIR}/${P}
7 DESCRIPTION="Super-useful stream editor"
8 SRC_URI="ftp://alpha.gnu.org/pub/gnu/sed/${P}.tar.gz"
9
10 DEPEND="virtual/glibc nls? ( sys-devel/gettext )"
11
12 RDEPEND="virtual/glibc"
13
14 src_compile() {
15 local myconf
16 [ -z "`use nls`" ] && myconf="--disable-nls"
17 ./configure --prefix=/usr --host=${CHOST} ${myconf} || die
18 if [ -z "`use static`" ]
19 then
20 emake || die
21 else
22 emake LDFLAGS=-static || die
23 fi
24 }
25
26 src_install() {
27 into /
28 dobin sed/sed
29 dodir /usr/bin
30 dosym ../../bin/sed /usr/bin/sed
31 if [ -z "`use build`" ]
32 then
33 into /usr
34 doinfo doc/sed.info
35 doman doc/sed.1
36 dodoc COPYING NEWS README* THANKS TODO AUTHORS BUGS ANNOUNCE
37 else
38 rm -rf ${D}/usr/share
39 fi
40 }
41

  ViewVC Help
Powered by ViewVC 1.1.20