# Template file for 'SDL_sound'
pkgname=SDL_sound
version=1.0.3
revision=5
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="SDL-devel libmikmod-devel libvorbis-devel
 libflac-devel speex-devel smpeg-devel"
short_desc="A library to decode several popular sound file formats, such as .WAV and .MP3"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://icculus.org/SDL_sound/"
license="LGPL-2.1"
distfiles="http://icculus.org/${pkgname}/downloads/${pkgname}-${version}.tar.gz"
checksum="3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df"

SDL_sound-devel_package() {
	depends="SDL-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.so"
	}
}
