diff options
author | Daniel Black <dragonheart@gentoo.org> | 2006-01-14 12:31:15 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2006-01-14 12:31:15 +0000 |
commit | 61b6147b6903f0b77cb0fe9d948063352b6e155d (patch) | |
tree | df9418fe1d8cd61c2c03c121dfcdbbec238b8f38 /dev-libs/xapian/xapian-0.9.2-r1.ebuild | |
parent | Added 2.3 hardmasked for testing. Bug #107686 (diff) | |
download | historical-61b6147b6903f0b77cb0fe9d948063352b6e155d.tar.gz historical-61b6147b6903f0b77cb0fe9d948063352b6e155d.tar.bz2 historical-61b6147b6903f0b77cb0fe9d948063352b6e155d.zip |
added patch to fix xapian-config problem. Removed old xapian version
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'dev-libs/xapian/xapian-0.9.2-r1.ebuild')
-rw-r--r-- | dev-libs/xapian/xapian-0.9.2-r1.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/xapian/xapian-0.9.2-r1.ebuild b/dev-libs/xapian/xapian-0.9.2-r1.ebuild new file mode 100644 index 000000000000..e4c13f6bca86 --- /dev/null +++ b/dev-libs/xapian/xapian-0.9.2-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian/xapian-0.9.2-r1.ebuild,v 1.1 2006/01/14 12:31:15 dragonheart Exp $ + +inherit eutils + +IUSE="" + +S=${WORKDIR}/xapian-core-${PV} +DESCRIPTION="Xapian Probabilistic Information Retrieval library" +SRC_URI="http://www.oligarchy.co.uk/xapian/${PV}/xapian-core-${PV}.tar.gz" +HOMEPAGE="http://www.xapian.org/" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~ppc ~x86" + +DEPEND="virtual/libc + sys-apps/gawk + sys-apps/grep + sys-apps/sed + sys-devel/libtool + sys-devel/gcc" + +RDEPEND="virtual/libc" + + +src_unpack() { + unpack "${A}" + cd "${S}" + epatch "${FILESDIR}/${P}-config.patch" +} + +src_test() { + if has_version '<=dev-util/valgrind-2.3.0'; + then + #valgrind-2.2 caused errors here. + make check VALGRIND= || die "check failed" + else + make check || die "check failed" + fi +} + + +src_install () { + emake 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-core ${D}/usr/share/doc/${PF} + + dodoc AUTHORS HACKING PLATFORMS README +} |