blob: c3c1ea5147b57384f86c690a49d3202a50c49403 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian-bindings/xapian-bindings-0.9.5.ebuild,v 1.2 2006/05/28 18:13:54 swegener Exp $
inherit mono eutils autotools
DESCRIPTION="SWIG and JNI bindings for Xapian"
HOMEPAGE="http://www.xapian.org/"
SRC_URI="http://www.oligarchy.co.uk/xapian/${PV}/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE="python php tcltk mono"
DEPEND="=dev-libs/xapian-${PV}
python? ( >=dev-lang/python-2.1 )
php? ( dev-lang/php )
tcltk? ( >=dev-lang/tcl-8.1 )
mono? ( >=dev-lang/mono-1.0.8 )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-skip-csharp-test.patch"
eautoreconf
}
src_compile() {
econf \
$(use_with python) \
$(use_with php) \
$(use_with tcltk tcl) \
$(use_with mono csharp) \
--without-java \
|| die "econf failed"
emake || die "emake failed"
}
src_install () {
emake -j1 DESTDIR="${D}" install || die
#docs tly et installed under /usr/share/doc/xapian-core,
# lets move them under /usr/share/doc..
mv "${D}/usr/share/doc/xapian-bindings" "${D}/usr/share/doc/${PF}"
dodoc AUTHORS HACKING PLATFORMS README
}
|