smlinux/base/sbc/sbc.SMBuild
2022-01-28 23:06:05 +05:30

32 lines
669 B
Text
Executable file

APP=sbc
VERSION=1.4
BUILD=1sml
HOMEPAGE='https://www.kernel.org/pub/linux/bluetooth'
DOWNLOAD='https://www.kernel.org/pub/linux/bluetooth/sbc-1.4.tar.xz'
DESC="Bluetooth audio library"
REQUIRES="musl"
build() {
mkandenterbuilddir
rm -rf $APP-$VERSION
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
cd $APP-$VERSION
fixbuilddirpermissions
./configure \
--prefix="" \
--disable-static \
--disable-tester
make
make install DESTDIR=$PKG
cp COPYING* ChangeLog $PKGDOCS/
mkfinalpkg
}
SHA512SUMS="
eb31d73cccfff76a74befc44f7c5ea7a40b4dc22787f4d1ce10a787ee480ebafda4235c8abb5ccefda6804e47d0cc414a6ccd4f3acf6abb00109d3db7cfaa9a5 sbc-1.4.tar.lz
"