| 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.3.7.ebuild,v 1.4 2006/01/16 23:06:11 mkay Exp $
|
| 4 |
|
| 5 |
inherit libtool
|
| 6 |
|
| 7 |
IUSE="vorbis static"
|
| 8 |
DESCRIPTION="A simple library for keyword extraction"
|
| 9 |
HOMEPAGE="http://www.ovmj.org/~samanta/libextractor"
|
| 10 |
SRC_URI="http://www.ovmj.org/~samanta/libextractor/download/${P}.tar.bz2"
|
| 11 |
SLOT="0"
|
| 12 |
LICENSE="LGPL-2.1"
|
| 13 |
KEYWORDS="~x86 ~sparc ~amd64 ~ppc"
|
| 14 |
DEPEND="virtual/libc
|
| 15 |
>=sys-devel/libtool-1.4.1
|
| 16 |
vorbis? ( >=media-libs/libvorbis-1.0_beta4 )"
|
| 17 |
|
| 18 |
src_compile() {
|
| 19 |
elibtoolize
|
| 20 |
econf --with-gnu-ld \
|
| 21 |
`use_enable static` || die "econf failed"
|
| 22 |
make || die "compile failed"
|
| 23 |
}
|
| 24 |
|
| 25 |
src_install () {
|
| 26 |
make DESTDIR=${D} install || die "install failed"
|
| 27 |
}
|