| 1 |
radhermit |
1.1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
armin76 |
1.8 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/audiofile/audiofile-0.3.4.ebuild,v 1.7 2012/09/20 03:34:28 blueness Exp $
|
| 4 |
radhermit |
1.1 |
|
| 5 |
|
|
EAPI="4"
|
| 6 |
|
|
|
| 7 |
|
|
inherit autotools eutils gnome.org
|
| 8 |
|
|
|
| 9 |
|
|
DESCRIPTION="An elegant API for accessing audio files"
|
| 10 |
|
|
HOMEPAGE="http://www.68k.org/~michael/audiofile/"
|
| 11 |
|
|
|
| 12 |
|
|
LICENSE="GPL-2 LGPL-2"
|
| 13 |
|
|
SLOT="0"
|
| 14 |
armin76 |
1.8 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
| 15 |
radhermit |
1.1 |
IUSE="static-libs"
|
| 16 |
|
|
|
| 17 |
|
|
DOCS=( ACKNOWLEDGEMENTS AUTHORS ChangeLog NEWS NOTES README TODO )
|
| 18 |
|
|
|
| 19 |
|
|
src_prepare() {
|
| 20 |
|
|
# Don't build examples
|
| 21 |
|
|
sed -i -e "/^SRC_SUBDIRS/s: examples::" Makefile.am || die
|
| 22 |
|
|
|
| 23 |
|
|
eautoreconf
|
| 24 |
|
|
}
|
| 25 |
|
|
|
| 26 |
|
|
src_configure() {
|
| 27 |
|
|
econf \
|
| 28 |
|
|
$(use_enable static-libs static) \
|
| 29 |
|
|
--disable-werror \
|
| 30 |
|
|
--enable-largefile
|
| 31 |
|
|
}
|
| 32 |
|
|
|
| 33 |
|
|
src_test() {
|
| 34 |
|
|
emake -C test check
|
| 35 |
|
|
}
|
| 36 |
|
|
|
| 37 |
|
|
src_install() {
|
| 38 |
|
|
default
|
| 39 |
|
|
find "${ED}" -name '*.la' -delete
|
| 40 |
|
|
}
|