diff options
author | Akinori Hattori <hattya@gentoo.org> | 2006-09-30 14:46:49 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2006-09-30 14:46:49 +0000 |
commit | fe8a4684c6d066b4b7cb6329e27eb33d4dcd89be (patch) | |
tree | c5c36ee8b73fae04d75bcb7de6f95057050d8541 /app-text/hyperestraier | |
parent | switch to generation-1 for building java binding. reference bug #149578. (diff) | |
download | historical-fe8a4684c6d066b4b7cb6329e27eb33d4dcd89be.tar.gz historical-fe8a4684c6d066b4b7cb6329e27eb33d4dcd89be.tar.bz2 historical-fe8a4684c6d066b4b7cb6329e27eb33d4dcd89be.zip |
rename from hyperestraier-1.4.0.ebuild. this uses generation-2 for building java binding.
Package-Manager: portage-2.1.1
Diffstat (limited to 'app-text/hyperestraier')
-rw-r--r-- | app-text/hyperestraier/ChangeLog | 9 | ||||
-rw-r--r-- | app-text/hyperestraier/files/digest-hyperestraier-1.4.0-r2 | 3 | ||||
-rw-r--r-- | app-text/hyperestraier/hyperestraier-1.4.0-r2.ebuild | 108 |
3 files changed, 119 insertions, 1 deletions
diff --git a/app-text/hyperestraier/ChangeLog b/app-text/hyperestraier/ChangeLog index 97bac74b067d..732b4ef47726 100644 --- a/app-text/hyperestraier/ChangeLog +++ b/app-text/hyperestraier/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-text/hyperestraier # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/hyperestraier/ChangeLog,v 1.27 2006/09/30 14:43:44 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/hyperestraier/ChangeLog,v 1.28 2006/09/30 14:46:49 hattya Exp $ + +*hyperestraier-1.4.0-r2 (30 Sep 2006) + + 30 Sep 2006; Akinori Hattori <hattya@gentoo.org> + -hyperestraier-1.4.0.ebuild, +hyperestraier-1.4.0-r2.ebuild: + rename from hyperestraier-1.4.0.ebuild. this uses generation-2 for building + java binding. *hyperestraier-1.4.0-r1 (30 Sep 2006) diff --git a/app-text/hyperestraier/files/digest-hyperestraier-1.4.0-r2 b/app-text/hyperestraier/files/digest-hyperestraier-1.4.0-r2 new file mode 100644 index 000000000000..bd36f583cf8b --- /dev/null +++ b/app-text/hyperestraier/files/digest-hyperestraier-1.4.0-r2 @@ -0,0 +1,3 @@ +MD5 099c711d46eb68105f9b44bc5be7b2af hyperestraier-1.4.0.tar.gz 914929 +RMD160 adad031b8f19be8273ba429424aa703f4e37fb91 hyperestraier-1.4.0.tar.gz 914929 +SHA256 a3e22032ae5d1ed0a5a42c3647fe35321ead231bac003b635fd1495cfc80d96b hyperestraier-1.4.0.tar.gz 914929 diff --git a/app-text/hyperestraier/hyperestraier-1.4.0-r2.ebuild b/app-text/hyperestraier/hyperestraier-1.4.0-r2.ebuild new file mode 100644 index 000000000000..58ca9c8e352a --- /dev/null +++ b/app-text/hyperestraier/hyperestraier-1.4.0-r2.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/hyperestraier/hyperestraier-1.4.0-r2.ebuild,v 1.1 2006/09/30 14:46:49 hattya Exp $ + +inherit java-pkg-opt-2 + +IUSE="debug java mecab ruby" + +DESCRIPTION="a full-text search system for communities" +HOMEPAGE="http://hyperestraier.sf.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~ppc ~x86" +SLOT="0" + +RDEPEND=">=dev-db/qdbm-1.8.68 + sys-libs/zlib + java? ( >=virtual/jre-1.4 ) + mecab? ( app-text/mecab ) + ruby? ( dev-lang/ruby )" +DEPEND="${RDEPEND} + java? ( >=virtual/jdk-1.4 )" + +src_unpack() { + + unpack ${A} + cd "${S}" + + # fix for insecure runpath warning. + sed -i "/^LDENV/d" Makefile.in + +} + +src_compile() { + + econf \ + `use_enable debug` \ + `use_enable mecab` \ + || die + emake || die + + local u d + + for u in java ruby; do + if ! use ${u}; then + continue + fi + + for d in ${u}native ${u}pure; do + cd ${d} + econf || die + emake || die + cd - + done + done + +} + +src_test() { + + emake -j1 check || die + + local u d + + for u in java ruby; do + if ! use ${u}; then + continue + fi + + for d in ${u}native; do + cd ${d} + emake -j1 check || die + cd - + done + done + +} + +src_install() { + + emake DESTDIR="${D}" MYDOCS= install || die + dodoc ChangeLog README* THANKS + dohtml doc/* + + local u d + + for u in java ruby; do + if ! use ${u}; then + continue + fi + + for d in ${u}native ${u}pure; do + cd ${d} + emake DESTDIR="${D}" install || die + cd - + dohtml -r doc/${d}api + done + done + + if use java; then + java-pkg_dojar "${D}"/usr/$(get_libdir)/*.jar + rm -f "${D}"/usr/$(get_libdir)/*.jar + fi + + rm -f "${D}"/usr/bin/*test + +} |