blob: c5531a85e2f5a56b7bf8d069c56010655fb1f1b4 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libextractor/libextractor-0.5.0.ebuild,v 1.4 2005/12/26 12:22:25 lu_zero Exp $
inherit libtool eutils
IUSE="vorbis static"
DESCRIPTION="A simple library for keyword extraction"
HOMEPAGE="http://www.ovmj.org/~samanta/libextractor"
SRC_URI="http://gnunet.org/libextractor/download/${P}.tar.bz2"
SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="x86 ~sparc ~amd64 ~ppc"
# Disabled tests because they dont work (tester@g.o)
RESTRICT=test
DEPEND="virtual/libc
>=sys-devel/libtool-1.4.1
vorbis? ( >=media-libs/libvorbis-1.0_beta4 )"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-autotools.patch
}
src_compile() {
elibtoolize
econf --with-gnu-ld \
`use_enable static` || die "econf failed"
make || die "compile failed"
}
src_install () {
make DESTDIR=${D} install || die "install failed"
}
|