mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 14:47:17 +08:00
32 lines
674 B
Bash
32 lines
674 B
Bash
|
#
|
||
|
# Platform Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer abveritas@chakra-project.org
|
||
|
# contributor Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
||
|
|
||
|
pkgname=sbc
|
||
|
pkgver=1.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="Bluetooth Subband Codec (SBC) library"
|
||
|
arch=('x86_64')
|
||
|
url="http://www.bluez.org/"
|
||
|
license=('GPL' 'LGPL')
|
||
|
depends=('glibc')
|
||
|
options=(!libtool)
|
||
|
source=(http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.xz)
|
||
|
md5sums=('aa2bc39c4a09aade064efea4bbbc4b2d')
|
||
|
|
||
|
build() {
|
||
|
cd $pkgname-$pkgver
|
||
|
|
||
|
./configure --prefix=/usr \
|
||
|
--disable-static \
|
||
|
--disable-tester
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $pkgname-$pkgver
|
||
|
|
||
|
make DESTDIR="$pkgdir" install
|
||
|
}
|