blob: abd5ddf10239a783570ff2edd2f6955a73d0cf30 (
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
51
52
53
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/tre/tre-0.7.2.ebuild,v 1.1 2005/01/11 20:44:50 dragonheart Exp $
IUSE="nls static"
DESCRIPTION="Lightweight, robust, and efficient POSIX compliant regexp matching library."
HOMEPAGE="http://laurikari.net/tre/index.html"
SRC_URI="http://laurikari.net/tre/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~amd64"
DEPEND="virtual/libc
sys-apps/gawk
sys-apps/grep
sys-apps/sed
sys-devel/gettext
sys-devel/libtool
sys-devel/gcc
dev-util/pkgconfig"
RDEPEND="virtual/libc
!app-misc/glimpse
!app-text/agrep"
src_compile() {
# Build TRE library.
cd ${S}
econf \
`use_enable nls` \
`use_enable static` \
--enable-agrep \
--enable-system-abi \
--disable-profile \
--disable-debug || die
emake || die
}
src_install() {
emake DESTDIR=${D} install || die
cd ${S}
dohtml doc/tre-api.html doc/tre-syntax.html
}
pkg_postinst() {
ewarn "Both app-misc/glimpse, app-text/agrep and this package provide agrep."
ewarn "they seem to be similar but just to let you know."
ewarn "If this causes a problem please do a bug report"
ewarn "bugs.gentoo.org."
}
|