| 1 |
# Copyright 1999-2006 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.4.ebuild,v 1.3 2006/01/16 23:06:11 mkay Exp $
|
| 4 |
|
| 5 |
inherit libtool eutils
|
| 6 |
|
| 7 |
IUSE="gtk nls static vorbis zlib"
|
| 8 |
DESCRIPTION="A simple library for keyword extraction"
|
| 9 |
HOMEPAGE="http://www.gnunet.org/libextractor"
|
| 10 |
SRC_URI="mirror://gnu//${PN}/${P}.tar.gz"
|
| 11 |
SLOT="0"
|
| 12 |
LICENSE="LGPL-2.1"
|
| 13 |
KEYWORDS="~x86 ~sparc ~amd64 ~ppc"
|
| 14 |
# Disabled tests because they dont work (tester@g.o)
|
| 15 |
RESTRICT="test"
|
| 16 |
DEPEND="virtual/libc
|
| 17 |
>=sys-devel/libtool-1.4.1
|
| 18 |
>=dev-libs/glib-1.2.10
|
| 19 |
nls? ( sys-devel/gettext )
|
| 20 |
gtk? ( >=x11-libs/gtk+-2.6.10 )
|
| 21 |
zlib? ( sys-libs/zlib )
|
| 22 |
vorbis? ( >=media-libs/libvorbis-1.0_beta4 )"
|
| 23 |
|
| 24 |
src_compile() {
|
| 25 |
elibtoolize
|
| 26 |
econf --with-gnu-ld --enable-glib --enable-exiv2 \
|
| 27 |
`use_enable static` `use_enable nls` || die "econf failed"
|
| 28 |
make || die "compile failed"
|
| 29 |
}
|
| 30 |
|
| 31 |
src_install () {
|
| 32 |
make DESTDIR=${D} install || die "install failed"
|
| 33 |
}
|