blob: 457df47cef545fe9b23929d299f24a873766ff9b (
plain) (
tree)
|
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=sbc
pkgver=1.4
pkgrel=0
pkgdesc="Bluetooth audio codec library"
url="http://www.bluez.org/"
arch="all"
options="!check" # No tests.
license="LGPL-2.1+ AND GPL-2.0+"
depends=""
depends_dev="libsndfile-dev"
makedepends="$depends_dev linux-headers"
subpackages="$pkgname-dev $pkgname-utils"
source="https://www.kernel.org/pub/linux/bluetooth/sbc-$pkgver.tar.xz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make
}
package() {
make DESTDIR="$pkgdir" install
}
utils() {
pkgdesc="Bluetooth audio utilities"
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/bin \
"$subpkgdir"/usr/
}
sha512sums="f35250c202034e93ce4046d29883d76b162164d42fb59e6af8ff5e57f197244238f5f8087309cef2d44755c179e7f0869cf096735c8de510b1ac7e0f6c29d84f sbc-1.4.tar.xz"
|