You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/opencore-amr/opencore-amr-0.1.3.ebuild

28 lines
842 B

# 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.1 2012/02/20 21:06:42 aballier 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 ~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
}