# Template file for 'libbs2b'
pkgname=libbs2b
version=3.1.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libsndfile-devel"
short_desc="Audiofilter for headphones"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-2, MIT"
homepage="http://bs2b.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/bs2b/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
checksum=6aaafd81aae3898ee40148dd1349aab348db9bfae9767d0e66e0b07ddd4b2528

post_install() {
	vlicense COPYING
}

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