# Template file for 'libmp3splt'
pkgname=libmp3splt
version=0.9.2
revision=3
build_style=gnu-configure
configure_args="--disable-cutter"
hostmakedepends="pkg-config"
makedepends="libltdl-devel libmad-devel libflac-devel libvorbis-devel libid3tag-devel pcre-devel"
short_desc="Library for splitting mp3 and ogg files without decoding"
maintainer="Jan Friesse <jfriesse@gmail.com>"
license="GPL-2.0-or-later"
homepage="http://mp3splt.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/mp3splt/$pkgname-$version.tar.gz"
checksum=30eed64fce58cb379b7cc6a0d8e545579cb99d0f0f31eb00b9acc8aaa1b035dc

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