summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libxtract/libxtract-0.6.3.ebuild')
-rw-r--r--media-libs/libxtract/libxtract-0.6.3.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/media-libs/libxtract/libxtract-0.6.3.ebuild b/media-libs/libxtract/libxtract-0.6.3.ebuild
index 5fd69557ea22..5d79081ee5cc 100644
--- a/media-libs/libxtract/libxtract-0.6.3.ebuild
+++ b/media-libs/libxtract/libxtract-0.6.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libxtract/libxtract-0.6.3.ebuild,v 1.2 2013/04/04 08:16:29 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libxtract/libxtract-0.6.3.ebuild,v 1.3 2013/04/04 08:26:55 aballier Exp $
DESCRIPTION="A simple, portable, lightweight library of audio feature extraction functions"
HOMEPAGE="http://libxtract.sourceforge.net"
@@ -9,14 +9,16 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="doc fftw"
+IUSE="doc fftw static-libs"
RDEPEND="fftw? ( =sci-libs/fftw-3* )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
src_compile() {
- econf $(use_enable fftw fft)
+ econf \
+ $(use_enable fftw fft) \
+ $(use_enable static-libs static)
# Prevent doc from being generated automagically
use doc || touch doc/doxygen-build.stamp
emake || die "make failed"
@@ -24,6 +26,7 @@ src_compile() {
src_install() {
emake DESTDIR="${D}" install || die "install failed"
+ find "${D}" -name "*.la" -delete
dodoc README TODO AUTHORS
use doc && dohtml doc/html/*
}