void-packages/srcpkgs/liba52/template

36 lines
836 B
Bash

# Template file for 'liba52'
pkgname=liba52
version=0.8.0
revision=1
build_style=gnu-configure
configure_args="--enable-shared"
hostmakedepends="automake libtool"
short_desc="Free ATSC A/52 stream decoder"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://git.adelielinux.org/adelie/a52dec"
distfiles="https://distfiles.adelielinux.org/source/a52dec/a52dec-${version}.tar.gz"
checksum=03c181ce9c3fe0d2f5130de18dab9bd8bc63c354071515aa56983c74a9cffcc9
pre_configure() {
./bootstrap
}
a52dec_package() {
short_desc="ATSC A/52 stream decoder tools"
pkg_install() {
vmove usr/bin
vmove usr/share
}
}
liba52-devel_package() {
depends="liba52>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}