2009-12-30 23:51:35 +00:00
|
|
|
# Template file for 'faac'
|
|
|
|
pkgname=faac
|
|
|
|
version=1.28
|
2013-04-12 09:16:02 +00:00
|
|
|
revision=7
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-01-04 22:49:49 +00:00
|
|
|
configure_args="--with-mp4v2 --disable-static"
|
2013-04-02 11:11:47 +00:00
|
|
|
makedepends="automake libtool libmp4v2-devel>=2.0.0"
|
2013-01-04 22:49:49 +00:00
|
|
|
short_desc="AAC audio encoder library"
|
2009-12-30 23:51:35 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-01-04 22:49:49 +00:00
|
|
|
homepage="http://www.audiocoding.com/"
|
|
|
|
license="GPL-2, BSD"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/faac/faac-${version}.tar.gz"
|
2009-12-30 23:51:35 +00:00
|
|
|
checksum=c5141199f4cfb17d749c36ba8cfe4b25f838da67c22f0fec40228b6b9c3d19df
|
|
|
|
|
2013-01-04 22:49:49 +00:00
|
|
|
pre_configure() {
|
|
|
|
find . -type f -print0 | xargs -0 sed -i 's/\r//g'
|
2013-04-02 11:11:47 +00:00
|
|
|
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in
|
2011-07-04 17:54:57 +00:00
|
|
|
./bootstrap
|
2009-12-30 23:51:35 +00:00
|
|
|
}
|
2013-01-04 22:49:49 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall libfaac/kiss_fft/COPYING 644 usr/share/licenses/faac
|
|
|
|
}
|
2013-04-12 09:16:02 +00:00
|
|
|
|
|
|
|
faac-devel_package() {
|
|
|
|
depends="libmp4v2-devel>=2.0.0 faac>=${version}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
faac_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|