smlinux/base/sbc/sbc.SMBuild

35 lines
726 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=sbc
version=1.4
build=2sml
homepage="https://www.kernel.org/pub/linux/bluetooth"
download="https://www.kernel.org/pub/linux/bluetooth/sbc-$version.tar.xz"
desc="Bluetooth audio library"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix="" \
--disable-static \
--disable-tester
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
eb31d73cccfff76a74befc44f7c5ea7a40b4dc22787f4d1ce10a787ee480ebafda4235c8abb5ccefda6804e47d0cc414a6ccd4f3acf6abb00109d3db7cfaa9a5 sbc-1.4.tar.lz
"