void-packages/srcpkgs/libmysofa/template
2019-10-30 04:44:09 +01:00

29 lines
761 B
Bash

# Template file for 'libmysofa'
pkgname=libmysofa
version=0.8
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-3-Clause"
homepage="https://github.com/hoene/libmysofa"
distfiles="https://github.com/hoene/libmysofa/archive/v${version}.tar.gz"
checksum=0e0abb6ec6f5f09266325741d6ef218532187129f65d0bc6b21e155760dfb2ad
post_install() {
vlicense LICENSE
}
libmysofa-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}