# Template file for 'sbc'
pkgname=sbc
version=1.2
revision=1
build_style=gnu-configure
configure_args="--enable-pie --disable-static"
hostmakedepends="pkg-config"
makedepends="libsndfile-devel"
short_desc="Bluetooth Subband Codec (SBC) library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.bluez.org/"
license="GPL-2"
distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.xz"
checksum=c2f01ea54f7473704825113a9cdd46a23e67c650eff575f0670c3d9d66c4a5dc

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