smlinux/base/sbc/sbc.SMBuild
PktSurf 1a260f04ce Disabled native language support (nls) in:
-> base/gdb,gdbm,glib,iso-codes,libgpg-error,
-> libidn2,libqalculate,popt,procps-ng,sudo,sysstat,texinfo,xz
Made fixes to a bunch of base build files to put stuff in /usr
2024-10-18 10:50:11 +05:30

36 lines
748 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=sbc
version=1.4
build=1sml
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=/usr \
--bindir=/bin \
--disable-static \
--disable-tester
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
eb31d73cccfff76a74befc44f7c5ea7a40b4dc22787f4d1ce10a787ee480ebafda4235c8abb5ccefda6804e47d0cc414a6ccd4f3acf6abb00109d3db7cfaa9a5 sbc-1.4.tar.lz
"