summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/tre/ChangeLog9
-rw-r--r--dev-libs/tre/metadata.xml6
-rw-r--r--dev-libs/tre/tre-0.8.0.ebuild45
3 files changed, 56 insertions, 4 deletions
diff --git a/dev-libs/tre/ChangeLog b/dev-libs/tre/ChangeLog
index 114bdf17676f..4209910ea543 100644
--- a/dev-libs/tre/ChangeLog
+++ b/dev-libs/tre/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/tre
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/tre/ChangeLog,v 1.39 2009/08/01 19:06:26 darkside Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/tre/ChangeLog,v 1.40 2009/10/16 13:39:06 ssuominen Exp $
+
+*tre-0.8.0 (16 Oct 2009)
+
+ 16 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> +tre-0.8.0.ebuild:
+ Version bump wrt #289305, thanks to Daniel Black for reporting.
01 Aug 2009; Jeremy Olexa <darkside@gentoo.org> -tre-0.7.2.ebuild,
-tre-0.7.4.ebuild:
diff --git a/dev-libs/tre/metadata.xml b/dev-libs/tre/metadata.xml
index c28f6134298b..79c540effb7e 100644
--- a/dev-libs/tre/metadata.xml
+++ b/dev-libs/tre/metadata.xml
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>shell-tools</herd>
-<longdescription></longdescription>
+ <herd>shell-tools</herd>
+ <use>
+ <flag name="static-libs">Compile static archives</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-libs/tre/tre-0.8.0.ebuild b/dev-libs/tre/tre-0.8.0.ebuild
new file mode 100644
index 000000000000..a542a57997af
--- /dev/null
+++ b/dev-libs/tre/tre-0.8.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/tre/tre-0.8.0.ebuild,v 1.1 2009/10/16 13:39:06 ssuominen Exp $
+
+EAPI=2
+
+DESCRIPTION="Lightweight, robust, and efficient POSIX compliant regexp matching library."
+HOMEPAGE="http://laurikari.net/tre/"
+SRC_URI="http://laurikari.net/tre/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="nls static-libs"
+
+RDEPEND="!app-misc/glimpse
+ !app-text/agrep"
+DEPEND="${RDEPEND}
+ sys-apps/grep
+ sys-apps/sed
+ sys-devel/gettext
+ dev-util/pkgconfig"
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --enable-agrep \
+ --enable-system-abi \
+ $(use_enable nls) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+ dohtml doc/*.{css,html}
+}
+
+pkg_postinst() {
+ ewarn ""
+ ewarn "app-misc/glimpse, app-text/agrep and this package all provide agrep."
+ ewarn "If this causes any unforeseen incompatibilities please file a bug"
+ ewarn "on http://bugs.gentoo.org."
+ ewarn ""
+}