# Template file for 'libxmp'
pkgname=libxmp
version=4.7.2
revision=1
build_style=gnu-configure
short_desc="Library that renders module files to PCM data"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://xmp.sourceforge.net"
changelog="https://sourceforge.net/p/xmp/libxmp/ci/libxmp-${version}/tree/docs/Changelog"
distfiles="${SOURCEFORGE_SITE}/xmp/libxmp/${version}/libxmp-${version}.tar.gz"
checksum=510a96eefd79e4558fb1fa41fb5494870328776b3f77563f94f61f241f64bde1

libxmp-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc_+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/*.so
		vman docs/libxmp.3
	}
}

post_install() {
	vlicense docs/COPYING
}
