void-packages/srcpkgs/faad2/template

28 lines
686 B
Bash

# Template file for 'faad2'
pkgname=faad2
version=2.10.1
revision=1
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=4c16c71295ca0cbf7c3dfe98eb11d8fa8d0ac3042e41604cfd6cc11a408cf264
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"
vmove usr/lib/pkgconfig
}
}