void-packages/srcpkgs/faad2/template
2020-05-14 10:17:38 +02:00

27 lines
695 B
Bash

# Template file for 'faad2'
pkgname=faad2
version=2.9.2
revision=1
wrksrc="faad2-${version//./_}"
build_style=gnu-configure
hostmakedepends="autoconf automake libtool"
short_desc="AAC decoding library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.audiocoding.com/"
distfiles="https://github.com/knik0/faad2/archive/${version//./_}.tar.gz"
checksum=9728b2b94f94ab49363cd229e7377fbe6ef3c311c5cd80da662d53ddb0ee091d
pre_configure() {
autoreconf -vfi
}
faad2-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}