void-packages/srcpkgs/pcaudiolib/template

29 lines
823 B
Bash

# Template file for 'pcaudiolib'
pkgname=pcaudiolib
version=1.2
revision=2
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"
changelog="https://raw.githubusercontent.com/espeak-ng/pcaudiolib/master/ChangeLog.md"
distfiles="https://github.com/espeak-ng/pcaudiolib/archive/${version}.tar.gz"
checksum=44b9d509b9eac40a0c61585f756d76a7b555f732e8b8ae4a501c8819c59c6619
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"
}
}