summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2011-09-02 14:50:52 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2011-09-02 14:50:52 +0000
commit5be4bfdcbea58889b267347ef419bad05a3c0091 (patch)
tree371d85dfcc3d86f457ae2b23489a11e0d8dad129 /app-text
parentAdded static-libs USE flag. (diff)
downloadgentoo-2-5be4bfdcbea58889b267347ef419bad05a3c0091.tar.gz
gentoo-2-5be4bfdcbea58889b267347ef419bad05a3c0091.tar.bz2
gentoo-2-5be4bfdcbea58889b267347ef419bad05a3c0091.zip
Fixed dodoc, bug #375619. Added static-libs USE flag.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/sary/ChangeLog8
-rw-r--r--app-text/sary/sary-1.1.0.ebuild27
-rw-r--r--app-text/sary/sary-1.2.0-r1.ebuild37
3 files changed, 44 insertions, 28 deletions
diff --git a/app-text/sary/ChangeLog b/app-text/sary/ChangeLog
index 7585060e4271..b50c8761be9e 100644
--- a/app-text/sary/ChangeLog
+++ b/app-text/sary/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/sary
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sary/ChangeLog,v 1.30 2011/04/12 22:44:13 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sary/ChangeLog,v 1.31 2011/09/02 14:50:52 matsuu Exp $
+
+*sary-1.2.0-r1 (02 Sep 2011)
+
+ 02 Sep 2011; MATSUU Takuto <matsuu@gentoo.org> -sary-1.1.0.ebuild,
+ +sary-1.2.0-r1.ebuild:
+ Fixed dodoc, bug #375619. Added static-libs USE flag. Removed old version.
12 Apr 2011; Jonathan Callen <abcd@gentoo.org> sary-1.2.0.ebuild:
Add prefix support, bump EAPI to 3, add prefix keywords
diff --git a/app-text/sary/sary-1.1.0.ebuild b/app-text/sary/sary-1.1.0.ebuild
deleted file mode 100644
index 3a2da1725fc2..000000000000
--- a/app-text/sary/sary-1.1.0.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sary/sary-1.1.0.ebuild,v 1.6 2006/10/14 09:22:17 flameeyes Exp $
-
-IUSE=""
-
-DESCRIPTION="Sary: suffix array library and tools"
-HOMEPAGE="http://sary.namazu.org/"
-SRC_URI="http://prime.sourceforge.jp/src/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-KEYWORDS="x86 alpha ppc ~ppc64"
-SLOT="0"
-
-RDEPEND=">=dev-libs/glib-2"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-src_install() {
-
- make DESTDIR=${D} \
- docsdir=/usr/share/doc/${PF}/html \
- install || die
-
- dodoc [A-Z][A-Z]* ChangeLog
-
-}
diff --git a/app-text/sary/sary-1.2.0-r1.ebuild b/app-text/sary/sary-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..f6689898c50d
--- /dev/null
+++ b/app-text/sary/sary-1.2.0-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/sary/sary-1.2.0-r1.ebuild,v 1.1 2011/09/02 14:50:52 matsuu Exp $
+
+EAPI=4
+
+DESCRIPTION="Sary: suffix array library and tools"
+HOMEPAGE="http://sary.sourceforge.net/"
+SRC_URI="http://sary.sourceforge.net/${P}.tar.gz"
+IUSE="static-libs"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+SLOT="0"
+RESTRICT="test"
+
+RDEPEND="dev-libs/glib:2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+
+ emake DESTDIR="${D}" \
+ docsdir="${EPREFIX}"/usr/share/doc/${PF}/html \
+ install || die
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+
+ if ! use static-libs ; then
+ find "${ED}" -name '*.la' -delete
+ fi
+
+}