void-packages/srcpkgs/alure/template
2021-04-14 19:33:08 +00:00

32 lines
949 B
Bash

# Template file for 'alure'
pkgname=alure
version=1.2
revision=3
build_style=cmake
configure_args="-DMODPLUG=ON -DDYNLOAD=OFF"
hostmakedepends="pkg-config"
makedepends="libopenal-devel libsndfile-devel libvorbis-devel libflac-devel
mpg123-devel libmodplug-devel fluidsynth-devel"
short_desc="Utility library to help manage common tasks with OpenAL applications"
maintainer="Simon Whelan <si.whelan@gmail.com>"
license="MIT"
# homepage="http://kcat.strangesoft.net/alure.html"
homepage="https://github.com/kcat/alure"
distfiles="${DEBIAN_SITE}/main/a/alure/alure_${version}.orig.tar.bz2"
checksum=465e6adae68927be3a023903764662d64404e40c4c152d160e3a8838b1d70f71
patch_args=-Np1
post_install() {
vlicense COPYING
}
alure-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
}
}