/[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.1 - (show annotations) (download)
Sat Jul 28 15:49:20 2001 UTC (19 years, 1 month ago) by pete
Branch: MAIN
bootcd fixups and additions. set USE=bootcd to build these packages
for the installation cd. autoiso.sh is the cd building automation
script. (its not nearly complete though)

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

  ViewVC Help
Powered by ViewVC 1.1.20