| 1 |
# Copyright 1999-2007 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/clucene-0.9.16a.ebuild,v 1.2 2007/07/15 04:01:12 mr_bones_ Exp $
|
| 4 |
|
| 5 |
DESCRIPTION="High-performance, full-featured text search engine based off of lucene in C++"
|
| 6 |
HOMEPAGE="http://clucene.sourceforge.net/"
|
| 7 |
|
| 8 |
MY_P=${PN}-core-${PV}
|
| 9 |
S=${WORKDIR}/${MY_P}
|
| 10 |
|
| 11 |
SRC_URI="mirror://sourceforge/clucene/${MY_P}.tar.bz2"
|
| 12 |
LICENSE="Apache-2.0 LGPL-2.1"
|
| 13 |
SLOT="1"
|
| 14 |
KEYWORDS="~amd64 ~ppc ~x86"
|
| 15 |
IUSE="static threads"
|
| 16 |
DEPEND="virtual/libc"
|
| 17 |
|
| 18 |
src_unpack() {
|
| 19 |
unpack ${A}
|
| 20 |
cd ${S}
|
| 21 |
}
|
| 22 |
|
| 23 |
src_compile() {
|
| 24 |
econf $(use_enable static) \
|
| 25 |
$(use_enable threads multithreading) || die
|
| 26 |
emake || die
|
| 27 |
}
|
| 28 |
|
| 29 |
src_install() {
|
| 30 |
make DESTDIR=${D} install || die
|
| 31 |
}
|