faac: cross build support.

This commit is contained in:
Juan RP 2014-01-23 17:07:28 +01:00
parent 1d44d8b8c3
commit 909df43b0f

View file

@ -1,10 +1,11 @@
# Template file for 'faac'
pkgname=faac
version=1.28
revision=7
revision=8
build_style=gnu-configure
configure_args="--with-mp4v2 --disable-static"
makedepends="automake libtool libmp4v2-devel>=2.0.0"
hostmakedepends="automake libtool"
makedepends="libmp4v2-devel>=2.0.0"
short_desc="AAC audio encoder library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.audiocoding.com/"
@ -23,9 +24,10 @@ post_install() {
}
faac-devel_package() {
depends="libmp4v2-devel>=2.0.0 faac>=${version}"
short_desc="${short_desc} -- development files"
depends="libmp4v2-devel>=2.0.0 faac>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}