diff options
author | Akinori Hattori <hattya@gentoo.org> | 2006-05-16 13:37:24 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2006-05-16 13:37:24 +0000 |
commit | e5ce0e3805c3aeb0eb2a0e0f33e9550a43aa36e7 (patch) | |
tree | c3c9c82cc548ea2b09c61d9b2d5b44f3fb4d43eb /app-text/hyperestraier/hyperestraier-1.2.6.ebuild | |
parent | add app-text/hyperestraier:mecab (diff) | |
download | gentoo-2-e5ce0e3805c3aeb0eb2a0e0f33e9550a43aa36e7.tar.gz gentoo-2-e5ce0e3805c3aeb0eb2a0e0f33e9550a43aa36e7.tar.bz2 gentoo-2-e5ce0e3805c3aeb0eb2a0e0f33e9550a43aa36e7.zip |
new upstream release.
(Portage version: 2.0.54-r2)
Diffstat (limited to 'app-text/hyperestraier/hyperestraier-1.2.6.ebuild')
-rw-r--r-- | app-text/hyperestraier/hyperestraier-1.2.6.ebuild | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/app-text/hyperestraier/hyperestraier-1.2.6.ebuild b/app-text/hyperestraier/hyperestraier-1.2.6.ebuild new file mode 100644 index 000000000000..7baf0deeb573 --- /dev/null +++ b/app-text/hyperestraier/hyperestraier-1.2.6.ebuild @@ -0,0 +1,92 @@ +# 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.2.6.ebuild,v 1.1 2006/05/16 13:37:24 hattya Exp $ + +inherit java-pkg + +IUSE="bzip2 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="~ppc ~x86" +SLOT="0" + +DEPEND=">=dev-db/qdbm-1.8.53 + sys-libs/zlib + bzip2? ( app-arch/bzip2 ) + mecab? ( app-text/mecab )" + +src_unpack() { + + unpack ${A} + cd ${S} + + sed -i -e "/^LDENV/d" Makefile.in + +} + +src_compile() { + + econf \ + `use_enable bzip2 bzip` \ + `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() { + + # Hyper Estraier can't test in sandbox ? + return + +} + +src_install() { + + make 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} + make 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 + +} |