void-packages/srcpkgs/faac/template
2017-07-05 13:17:24 +02:00

32 lines
863 B
Bash

# Template file for 'faac'
pkgname=faac
version=1.29
revision=1
build_style=gnu-configure
configure_args="--with-mp4v2 --disable-static"
hostmakedepends="automake libtool"
makedepends="libmp4v2-devel"
short_desc="AAC audio encoder library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.audiocoding.com/"
license="GPL-2, BSD"
distfiles="${SOURCEFORGE_SITE}/faac/faac-${version}.tar.gz"
checksum=8cc7b03ceb2722223a6457e95d4c994731d80214a03ba33d1af76ba53f4b3197
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.in
./bootstrap
}
post_install() {
vlicense libfaac/kiss_fft/COPYING
}
faac-devel_package() {
depends="${makedepends} faac>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}