/[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.6 - (show annotations) (download)
Sun Dec 15 10:44:23 2002 UTC (17 years, 7 months ago) by bjb
Branch: MAIN
CVS Tags: GENTOO_1_4_SNAP_2003010800
Changes since 1.5: +2 -2 lines
During removal of sparc64 keywords from the ebuilds a bad sed introduced problematic KEYWORDS line that contained an illegal character before the alpha keyword. Fixed.

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/sys-apps/sed/sed-4.0.ebuild,v 1.5 2002/12/09 04:37:26 manson 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 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