void-packages/srcpkgs/libopenal/template

27 lines
832 B
Text

# Template file for 'libopenal'
pkgname=libopenal
version=1.15
revision=6
build_style=cmake
wrksrc="openal-soft-${version}"
short_desc="A cross-platform 3D audio library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://connect.creativelabs.com/openal/default.aspx"
distfiles="http://kcat.strangesoft.net/openal-releases/openal-soft-${version}.tar.bz2"
checksum=bf58ecaf178339e86db00403b6d5c6408c9a3dfd3a077b43ac5432c52b63702d
hostmakedepends="pkg-config cmake"
makedepends="alsa-lib-devel pulseaudio-devel SDL-devel ffmpeg-devel>=2.1"
# dlopen(3)d dependencies
depends="alsa-lib libpulseaudio SDL"
libopenal-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}