| 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.2.2.ebuild,v 1.5 2006/01/16 23:06:11 mkay Exp $
|
| 4 |
|
| 5 |
inherit libtool eutils
|
| 6 |
|
| 7 |
DESCRIPTION="A simple library for keyword extraction"
|
| 8 |
HOMEPAGE="http://www.ovmj.org/~samanta/libextractor"
|
| 9 |
SRC_URI="http://www.ovmj.org/~samanta/libextractor/download/${P}.tar.bz2"
|
| 10 |
|
| 11 |
LICENSE="LGPL-2.1"
|
| 12 |
SLOT="0"
|
| 13 |
KEYWORDS="x86 sparc"
|
| 14 |
IUSE="vorbis static"
|
| 15 |
|
| 16 |
# does not work with rpm-4.2
|
| 17 |
DEPEND=">=sys-devel/libtool-1.4.1
|
| 18 |
<app-arch/rpm-4.2
|
| 19 |
vorbis? ( >=media-libs/libvorbis-1.0_beta4 )"
|
| 20 |
|
| 21 |
src_unpack() {
|
| 22 |
unpack ${A}
|
| 23 |
# patch their half baked attempt at supporting ogg vorbis
|
| 24 |
epatch ${FILESDIR}/${P}-vorbisfile.patch
|
| 25 |
}
|
| 26 |
|
| 27 |
src_compile() {
|
| 28 |
elibtoolize
|
| 29 |
|
| 30 |
export CPPFLAGS="-I/usr/include/rpm"
|
| 31 |
econf `use_enable static` || die
|
| 32 |
make || die
|
| 33 |
}
|
| 34 |
|
| 35 |
src_install() {
|
| 36 |
make DESTDIR=${D} install || die
|
| 37 |
}
|