29 lines
758 B
Bash
29 lines
758 B
Bash
# Template file for 'faac'
|
|
pkgname=faac
|
|
version=1.29.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="automake libtool"
|
|
short_desc="AAC audio encoder library"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://www.audiocoding.com/"
|
|
license="LGPL-2"
|
|
distfiles="${SOURCEFORGE_SITE}/faac/faac-${version}.tar.gz"
|
|
checksum=cef2897843baf366983ad29f471cd1c4dcc95762b86d283a925514bcc5cf5a3f
|
|
|
|
pre_configure() {
|
|
find . -type f -print0 | xargs -0 sed -i 's/\r//g'
|
|
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
|
|
./bootstrap
|
|
}
|
|
|
|
faac-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|