void-packages/srcpkgs/libmysofa/template

25 lines
688 B
Bash
Raw Normal View History

# Template file for 'libmysofa'
pkgname=libmysofa
version=0.6
revision=1
build_style=cmake
configure_args="-DBUILD_TESTS=OFF"
hostmakedepends="pkg-config"
makedepends="zlib-devel"
short_desc="Reader for AES SOFA files to get better HRTFs"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="BSD"
homepage="https://github.com/hoene/libmysofa"
distfiles="https://github.com/hoene/libmysofa/archive/v${version}.tar.gz"
checksum=e39c34bd40d17aecdb962ba6ae533a3fa9d291da4db6972d0d6e023974a1c169
libmysofa-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}