That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
32 lines
860 B
Bash
32 lines
860 B
Bash
# Template file for 'faac'
|
|
pkgname=faac
|
|
version=1.28
|
|
revision=9
|
|
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@gmail.com>"
|
|
homepage="http://www.audiocoding.com/"
|
|
license="GPL-2, BSD"
|
|
distfiles="${SOURCEFORGE_SITE}/faac/faac-${version}.tar.gz"
|
|
checksum=c5141199f4cfb17d749c36ba8cfe4b25f838da67c22f0fec40228b6b9c3d19df
|
|
|
|
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"
|
|
}
|
|
}
|