/[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.11 - (hide annotations) (download)
Sun Dec 15 10:44:23 2002 UTC (17 years, 9 months ago) by bjb
Branch: MAIN
CVS Tags: GENTOO_1_4_SNAP_2003010800
Changes since 1.10: +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 drobbins 1.2 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 vapier 1.8 # Distributed under the terms of the GNU General Public License v2
3 bjb 1.11 # $Header: /home/cvsroot/gentoo-x86/sys-apps/sed/sed-3.02.80-r3.ebuild,v 1.10 2002/12/09 04:37:26 manson Exp $
4 drobbins 1.9
5     IUSE="nls static build"
6 pete 1.1
7     S=${WORKDIR}/${P}
8     DESCRIPTION="Super-useful stream editor"
9 drobbins 1.2 SRC_URI="ftp://alpha.gnu.org/pub/gnu/sed/${P}.tar.gz"
10 aliz 1.4 HOMEPAGE="http://www.gnu.org/software/sed/sed.html"
11 bjb 1.11 KEYWORDS="x86 ppc sparc alpha"
12 aliz 1.4 SLOT="0"
13     LICENSE="GPL-2"
14 pete 1.1
15 drobbins 1.2 DEPEND="virtual/glibc nls? ( sys-devel/gettext )"
16 pete 1.1
17     RDEPEND="virtual/glibc"
18    
19     src_compile() {
20 drobbins 1.2 local myconf
21     [ -z "`use nls`" ] && myconf="--disable-nls"
22     ./configure --prefix=/usr --host=${CHOST} ${myconf} || die
23     if [ -z "`use static`" ]
24     then
25     emake || die
26     else
27     emake LDFLAGS=-static || die
28     fi
29 pete 1.1 }
30    
31     src_install() {
32 drobbins 1.2 into /
33 pete 1.1 dobin sed/sed
34     dodir /usr/bin
35     dosym ../../bin/sed /usr/bin/sed
36 drobbins 1.2 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
42 pete 1.1 else
43     rm -rf ${D}/usr/share
44 drobbins 1.2 fi
45 pete 1.1 }
46    

  ViewVC Help
Powered by ViewVC 1.1.20