# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/opencore-amr/opencore-amr-0.1.3.ebuild,v 1.3 2012/06/02 10:39:14 ago Exp $ EAPI=2 inherit multilib DESCRIPTION="Implementation of Adaptive Multi Rate Narrowband and Wideband speech codec" HOMEPAGE="http://opencore-amr.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos" IUSE="static-libs" src_configure() { econf \ --disable-dependency-tracking \ $(use_enable static-libs static) } src_install() { emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog README find "${D}"usr/$(get_libdir) -name '*.la' -delete }