summaryrefslogtreecommitdiff
path: root/repo/sbc/sbc.xibuild
blob: 952be4a1105c193eb4995122f03420b2c8409096 (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
#!/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
}