void-packages/srcpkgs/alure/template
Đoàn Trần Công Danh 025079a7e8 alure: enable all options, no dlopen
While we'at it, switch distfiles to DEBIAN
2021-04-04 12:41:42 +07:00

32 lines
949 B
Bash

# Template file for 'alure'
pkgname=alure
version=1.2
revision=2
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
}
}