void-packages/srcpkgs/pcaudiolib/template
2020-12-14 10:36:03 -03:00

27 lines
736 B
Bash

# Template file for 'pcaudiolib'
pkgname=pcaudiolib
version=1.1
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool which pkg-config"
makedepends="alsa-lib-devel pulseaudio-devel"
short_desc="Portable C Audio Library"
maintainer="Joey <joey@imap.cc>"
license="GPL-3.0-or-later"
homepage="https://github.com/espeak-ng/pcaudiolib"
distfiles="https://github.com/espeak-ng/pcaudiolib/archive/${version}.tar.gz"
checksum=699a5a347b1e12dc5b122e192e19f4db01621826bf41b9ebefb1cbc63ae2180b
pre_configure() {
./autogen.sh
}
pcaudiolib-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}