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

31 lines
888 B
Bash

# Template file for 'zita-alsa-pcmi'
pkgname=zita-alsa-pcmi
version=0.6.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=8a297ace3d7a474131ed3fa321069c131337785b56a237d6f168c85ee796d56c
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"
}
}