# Template file for 'libmpcdec'
pkgname=libmpcdec
version=1.2.6
revision=6
build_style=gnu-configure
short_desc="Portable Musepack decoder library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://musepack.net/"
distfiles="http://files.musepack.net/source/$pkgname-$version.tar.bz2"
checksum=4bd54929a80850754f27b568d7891e1e3e1b8d2f208d371f27d1fda09e6f12a8

post_install() {
	vlicense COPYING
}

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