# Template file for 'sbc'
pkgname=sbc
version=1.1
revision=1
build_style=gnu-configure
configure_args="--enable-pie --disable-static"
hostmakedepends="pkg-config"
makedepends="libsndfile-devel"
short_desc="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=9a30ad2dc20979a0847a7b1a06ea073498810f358a02fcad68ab414f239cfbc6

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

sbc_package() {
	pkg_install() {
		vmove all
	}
}
