| 1 |
# Copyright 1999-2008 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/libextractor/libextractor-0.5.18a.ebuild,v 1.5 2008/01/16 19:16:52 mr_bones_ Exp $
|
| 4 |
|
| 5 |
inherit libtool
|
| 6 |
|
| 7 |
DESCRIPTION="A simple library for keyword extraction"
|
| 8 |
HOMEPAGE="http://www.gnunet.org/libextractor/"
|
| 9 |
SRC_URI="http://gnunet.org/${PN}/download/${P}.tar.gz"
|
| 10 |
|
| 11 |
IUSE="gtk nls vorbis zlib"
|
| 12 |
SLOT="0"
|
| 13 |
LICENSE="LGPL-2.1"
|
| 14 |
KEYWORDS="amd64 ~ppc ~ppc64 sparc x86"
|
| 15 |
# Disabled tests because they dont work (tester@g.o)
|
| 16 |
RESTRICT="test"
|
| 17 |
|
| 18 |
DEPEND=">=sys-devel/libtool-1.4.1
|
| 19 |
>=dev-libs/glib-2.0.0
|
| 20 |
media-libs/libmpeg2
|
| 21 |
nls? ( virtual/libintl )
|
| 22 |
gtk? ( >=x11-libs/gtk+-2.6.10 )
|
| 23 |
zlib? ( sys-libs/zlib )
|
| 24 |
vorbis? ( >=media-libs/libvorbis-1.0_beta4 )"
|
| 25 |
RDEPEND=""
|
| 26 |
|
| 27 |
src_compile() {
|
| 28 |
elibtoolize
|
| 29 |
#bug #188169 -> --disable-xpdf
|
| 30 |
econf --enable-glib --enable-exiv2 \
|
| 31 |
--disable-xpdf \
|
| 32 |
$(use_enable nls) || die "econf failed"
|
| 33 |
emake -j1 || die "emake failed"
|
| 34 |
}
|
| 35 |
|
| 36 |
src_install () {
|
| 37 |
emake DESTDIR="${D}" install || die "emake install failed"
|
| 38 |
}
|