30 lines
714 B
Bash
30 lines
714 B
Bash
# Template file for 'faad2'
|
|
pkgname=faad2
|
|
version=2.8.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
short_desc="AAC decoding library"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://www.audiocoding.com/"
|
|
license="GPL-2"
|
|
distfiles="${SOURCEFORGE_SITE}/faac/$pkgname-$version.tar.bz2"
|
|
checksum=f4042496f6b0a60f5ded6acd11093230044ef8a2fd965360c1bbd5b58780933d
|
|
|
|
pre_configure() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) export CFLAGS+=" -D__GNU_LIBRARY__";;
|
|
esac
|
|
./bootstrap
|
|
}
|
|
|
|
faad2-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|