/[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.5 - (hide annotations) (download)
Tue Jul 16 05:51:05 2002 UTC (18 years, 2 months ago) by seemant
Branch: MAIN
Changes since 1.4: +2 -2 lines
more ppc keywords

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

  ViewVC Help
Powered by ViewVC 1.1.20