diff options
Diffstat (limited to 'main/bluez/APKBUILD')
-rw-r--r-- | main/bluez/APKBUILD | 34 |
1 files changed, 11 insertions, 23 deletions
diff --git a/main/bluez/APKBUILD b/main/bluez/APKBUILD index 3249654c0f..9d52ef8ac2 100644 --- a/main/bluez/APKBUILD +++ b/main/bluez/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=bluez -pkgver=5.37 +pkgver=5.38 pkgrel=0 pkgdesc="Tools for the Bluetooth protocol stack" url="http://www.bluez.org/" @@ -10,8 +10,7 @@ depends="consolekit dbus" replaces="udev" makedepends="dbus-dev libusb-compat-dev eudev-dev libical-dev readline-dev glib-dev linux-headers - autoconf automake libtool - " + autoconf automake libtool" subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-cups $pkgname-hid2hci" source="http://www.kernel.org/pub/linux/bluetooth/bluez-$pkgver.tar.xz @@ -21,22 +20,16 @@ source="http://www.kernel.org/pub/linux/bluetooth/bluez-$pkgver.tar.xz " _builddir="$srcdir"/bluez-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ + --mandir=/usr/share/man \ --localstatedir=/var \ --libexecdir=/usr/lib \ - --mandir=/usr/share/man \ --disable-systemd \ --enable-library \ || return 1 @@ -46,18 +39,13 @@ build() { package() { cd "$_builddir" make install DESTDIR="$pkgdir" || return 1 + install -Dm755 "$srcdir"/bluetooth.initd "$pkgdir"/etc/init.d/bluetooth install -Dm755 "$srcdir"/rfcomm.initd "$pkgdir"/etc/init.d/rfcomm install -Dm644 "$srcdir"/rfcomm.confd "$pkgdir"/etc/conf.d/rfcomm install -Dm755 test/simple-agent "$pkgdir"/usr/bin/bluez-simple-agent } -libs() { - pkgdesc="Libraries for Bluetooth protocol stack" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/libbluetooth.so.* "$subpkgdir"/usr/lib/ -} - cups() { pkgdesc="Bluez backend for CUPS" mkdir -p "$subpkgdir"/usr/lib/ @@ -71,15 +59,15 @@ hid2hci() { mv "$pkgdir"/lib "$subpkgdir"/ } -md5sums="33177e5743e24b2b3738f72be64e3ffb bluez-5.37.tar.xz +md5sums="dae2ed00c63791800ea7d10a381270a5 bluez-5.38.tar.xz 4ec3395eff42b3481a0a77f36ca57d0b bluetooth.initd f90b2cc8fe3f0e4bed64b01c0ba0205d rfcomm.initd 7f4bb093adb0f519c621f2ea68712f35 rfcomm.confd" -sha256sums="c14ba9ddcb0055522073477b8fd8bf1ddf5d219e75fdfd4699b7e0ce5350d6b0 bluez-5.37.tar.xz +sha256sums="0618c5440be6715805060ab5eea930526f34089c437bf61819447b160254f4df bluez-5.38.tar.xz 04395bdcbf69aafea1d127204677c72a6bf42bde1e8f809d31472ec5fa75057d bluetooth.initd 9407186d0a647af2228d5603a13cf7aaba5fac842c147aa46334c3d729b552d4 rfcomm.initd 672498957049fd301f9c9c1dc9fa49430e5e6d3c3f1f3cdce80df3af7d425d08 rfcomm.confd" -sha512sums="e9af3b1dd079185425db10630fefbb66c26f398f21edb0c213baba9599f73715ca36f405a3f9d9572e6c55b7d3d25a4cdc18668c6eb439422f637e64798a28e9 bluez-5.37.tar.xz +sha512sums="8b072d90baac3223002969cf70aa77e1df3d4bf80044101c75735d7e5ad1c81b7c24dc343f88a4aec89c8e92887c2aaf9fd2060c36e0095281a390d16335e27a bluez-5.38.tar.xz 0a5c652effebe5f2fd968535b2d99e8b9b6983f847fd162f80e5965ade4b7bd12165d27b348506a08503d1bc8c2cf5c8265758ca1e9670dfb5e765edf121fd96 bluetooth.initd 8d7b7c8938a2316ce0a855e9bdf1ef8fcdf33d23f4011df828270a088b88b140a19c432e83fef15355d0829e3c86be05b63e7718fef88563254ea239b8dc12ac rfcomm.initd a70aa0dbbabe7e29ee81540a6f98bf191a850da55a28f678975635caf34b363cf4d461a801b3484120ee28fdd21240bd456a4f5d706262700924bd2e9a0972fb rfcomm.confd" |