void-packages/srcpkgs/faac/template
Alessio Sergi 26bd37e78e faac: update to 1.29.2
New MP4 output module written from scratch.
2017-07-20 00:49:49 +02:00

28 lines
758 B
Bash

# Template file for 'faac'
pkgname=faac
version=1.29.2
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=c7c46b2b98e99e1597233039f7dd3923f2f9aa91d7d84bcac10d73614a369c63
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"
}
}