void-packages/srcpkgs/faac/template

28 lines
694 B
Bash

# Template file for 'faac'
pkgname=faac
version=1.30
revision=1
wrksrc="faac-${version//./_}"
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake libtool"
short_desc="AAC audio encoder library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.0-only"
homepage="http://www.audiocoding.com/"
distfiles="https://github.com/knik0/faac/archive/${version//./_}.tar.gz"
checksum=adc387ce588cca16d98c03b6ec1e58f0ffd9fc6eadb00e254157d6b16203b2d2
pre_configure() {
autoreconf -vfi
}
faac-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}