2009-12-31 00:51:35 +01:00
|
|
|
# Template file for 'faac'
|
|
|
|
pkgname=faac
|
|
|
|
version=1.28
|
2014-10-12 20:33:30 +02:00
|
|
|
revision=9
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-01-04 23:49:49 +01:00
|
|
|
configure_args="--with-mp4v2 --disable-static"
|
2014-01-23 17:07:28 +01:00
|
|
|
hostmakedepends="automake libtool"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="libmp4v2-devel"
|
2013-01-04 23:49:49 +01:00
|
|
|
short_desc="AAC audio encoder library"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-01-04 23:49:49 +01:00
|
|
|
homepage="http://www.audiocoding.com/"
|
|
|
|
license="GPL-2, BSD"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/faac/faac-${version}.tar.gz"
|
2009-12-31 00:51:35 +01:00
|
|
|
checksum=c5141199f4cfb17d749c36ba8cfe4b25f838da67c22f0fec40228b6b9c3d19df
|
|
|
|
|
2013-01-04 23:49:49 +01:00
|
|
|
pre_configure() {
|
|
|
|
find . -type f -print0 | xargs -0 sed -i 's/\r//g'
|
2013-04-02 13:11:47 +02:00
|
|
|
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in
|
2011-07-04 19:54:57 +02:00
|
|
|
./bootstrap
|
2009-12-31 00:51:35 +01:00
|
|
|
}
|
2013-01-04 23:49:49 +01:00
|
|
|
post_install() {
|
2014-10-12 20:33:30 +02:00
|
|
|
vlicense libfaac/kiss_fft/COPYING
|
2013-01-04 23:49:49 +01:00
|
|
|
}
|
2013-04-12 11:16:02 +02:00
|
|
|
|
|
|
|
faac-devel_package() {
|
2014-10-12 20:33:30 +02:00
|
|
|
depends="${makedepends} faac>=${version}_${revision}"
|
2014-01-23 17:07:28 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 11:16:02 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2014-01-23 17:07:28 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 11:16:02 +02:00
|
|
|
}
|
|
|
|
}
|