#!/bin/sh NAME="sbc" DESC="Bluetooth Subband Codec (SBC) library" MAKEDEPS="libsndfile linux-headers flac libvorbis libogg opus" PKG_VER=2.0 SOURCE="https://www.kernel.org/pub/linux/bluetooth/sbc-$PKG_VER.tar.xz" build() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --disable-static make } package() { make DESTDIR="$PKG_DEST" install }