mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added extra/sbc
This commit is contained in:
parent
47d1b244b8
commit
1c5e1396c3
1 changed files with 28 additions and 0 deletions
28
extra/sbc/PKGBUILD
Normal file
28
extra/sbc/PKGBUILD
Normal file
|
@ -0,0 +1,28 @@
|
|||
# $Id$
|
||||
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - configure with --enable-high-precision for v6/v7 to fix stack corruption
|
||||
|
||||
pkgname=sbc
|
||||
pkgver=1.3
|
||||
pkgrel=2.1
|
||||
pkgdesc="Bluetooth Subband Codec (SBC) library"
|
||||
arch=('x86_64')
|
||||
url="http://www.bluez.org/"
|
||||
license=('GPL' 'LGPL')
|
||||
depends=('glibc')
|
||||
source=(http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.xz)
|
||||
sha512sums=('c11cb1ede8abdb226d404ce34307d217b716b91cbe550ed90cb5387b062b7b97a6b7a81371de6f462d8c1429cb3299869a1bda347fa175e9d81cfa2bc2056c8b')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
[[ $CARCH == "armv6h" || $CARCH == "armv7h" ]] && CONFIG="--enable-high-precision"
|
||||
./configure --prefix=/usr --disable-static --disable-tester $CONFIG
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
Loading…
Reference in a new issue