void-packages/srcpkgs/libiir1/template

28 lines
682 B
Bash

# Template file for 'libiir1'
pkgname=libiir1
version=1.9.3
revision=1
build_style=cmake
short_desc="DSP IIR realtime filter library written in C++"
maintainer="mmnmnnmnmm <mnnnm@disroot.org>"
license="MIT"
homepage="https://github.com/berndporr/iir1"
distfiles="https://github.com/berndporr/iir1/archive/${version}.tar.gz"
checksum=de241ef7a3e5ae8e1309846fe820a2e18978aa3df3922bd83c2d75a0fcf4e78f
post_install() {
vlicense COPYING
}
libiir1-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
}
}