summaryrefslogtreecommitdiff
blob: a8b74572aa0e4f558f2bd4bbcf937a9e0640a3ed (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian/xapian-0.5.5.ebuild,v 1.3 2004/03/14 12:28:58 mr_bones_ Exp $

IUSE=""

S=${WORKDIR}/xapian-core-${PV}
DESCRIPTION="Xapian Probabilistic Information Retrieval library"
SRC_URI="http://www.tartarus.org/~olly/xapian-0.5.5/xapian-core-${PV}.tar.gz"
HOMEPAGE="http://www.xapian.org/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"

DEPEND="virtual/glibc"

src_compile() {
	econf || die "./configure failed"
	emake || die
}

src_install () {
	einstall || die
	dodoc AUTHORS COPYING HACKING INSTALL PLATFORMS README TODO
	#docs tly et installed under /usr/share/xapian, lets move them under /usr/share/doc..
	cd ${D}/usr/share/${PN}
	dodir /usr/share/doc/${PF}/html
	mv *.html apidoc/ ${D}/usr/share/doc/${PF}/html
	mv * ${D}/usr/share/doc/${PF}
	rmdir ${D}/usr/share/${PN}
}