blob: 80ce90b96c007c6ad0496e6ef3d9ff2dee1db783 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/supersed/supersed-3.60.ebuild,v 1.5 2004/04/26 14:32:54 agriffis Exp $
IUSE="nls static"
MY_P=sed-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="An enhanced version of sed which sports greater speed and the use of perl regular expressions than GNU sed."
SRC_URI="http://sed.sourceforge.net/grabbag/ssed/${MY_P}.tar.gz"
HOMEPAGE="http://queen.rett.polimi.it/~paolob/seders/ssed/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 amd64 mips sparc"
DEPEND="virtual/glibc
>=sys-apps/portage-2.0.45-r3
nls? ( sys-devel/gettext )"
RDEPEND="virtual/glibc"
src_unpack() {
unpack ${A} && cd ${S}/doc
# Adjust info files
local i
for i in sed.info*; do
sed 's/^\* sed: (sed)/\* ssed: (ssed)/; s/sed.info/ssed.info/' $i > s$i
done
}
src_compile() {
econf --program-prefix=s \
`use_enable nls` || die "econf failed"
if use static; then
emake LDFLAGS="-static" || die "make failed"
else
emake || die "make failed"
fi
}
src_install() {
einstall
rm -Rf ${D}/usr/share/info/
doinfo doc/ssed.info*
dodoc ABOUT-NLS AUTHORS BUGS COPYING ChangeLog NEWS README* THANKS TODO
}
|