void-packages/srcpkgs/zita-alsa-pcmi/template

31 lines
888 B
Bash

# Template file for 'zita-alsa-pcmi'
pkgname=zita-alsa-pcmi
version=0.5.1
revision=1
build_wrksrc="source"
build_style=gnu-makefile
make_install_args="LIBDIR=/usr/lib"
makedepends="alsa-lib-devel"
short_desc="Easy access to ALSA PCM devices"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-3.0-or-later"
homepage="https://kokkinizita.linuxaudio.org/linuxaudio/"
distfiles="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
checksum=cf200a68edb64a17b57bffb33e38b048778272d18b5589d3d2f5a01ce0f34b07
CXXFLAGS="-fPIC"
post_install() {
# add missing symlink
ln -s libzita-alsa-pcmi.so.${version} ${PKGDESTDIR}/usr/lib/libzita-alsa-pcmi.so.${version%%.*}
}
zita-alsa-pcmi-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}