blob: 3a28ea350171ab71eae727d7c51525166e286d6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#!/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"
ADDITIONAL="
fix-build-on-non-x86.patch
"
prepare () {
apply_patches
}
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
}
|