aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bluez/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/bluez/APKBUILD')
-rw-r--r--testing/bluez/APKBUILD78
1 files changed, 0 insertions, 78 deletions
diff --git a/testing/bluez/APKBUILD b/testing/bluez/APKBUILD
deleted file mode 100644
index 0e08eb9b17..0000000000
--- a/testing/bluez/APKBUILD
+++ /dev/null
@@ -1,78 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=bluez
-pkgver=4.91
-pkgrel=0
-pkgdesc="Tools for the Bluetooth protocol stack"
-url="http://www.bluez.org/"
-arch="all"
-license="GPL2"
-depends="consolekit"
-makedepends="dbus-dev gst-plugins-base-dev alsa-lib-dev libusb-compat-dev
- libnl-dev consolekit-dev"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-alsa
- $pkgname-cups $pkgname-gstreamer"
-source="http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2
- bluetooth.initd
- bluetooth.confd
- "
-
-_builddir="$srcdir"/$pkgname-$pkgver
-build() {
- cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/lib \
- --mandir=/usr/share/man \
- --enable-gstreamer \
- --enable-alsa \
- --enable-usb \
- --enable-tools \
- --enable-bccmd \
- --enable-hid2hci \
- --enable-dfutool \
- --enable-hidd \
- --enable-pand \
- --enable-dund \
- --enable-cups \
- --enable-configfiles \
- || return 1
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make install DESTDIR="$pkgdir"
- install -Dm755 "$srcdir"/bluetooth.initd "$pkgdir"/etc/init.d/bluetooth
- install -Dm644 "$srcdir"/bluetooth.confd "$pkgdir"/etc/conf.d/bluetooth
- 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/
-}
-
-alsa() {
- pkgdesc="Bluez plugin for ALSA"
- mkdir -p "$subpkgdir"/usr/share "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/share/alsa* "$subpkgdir"/usr/share/ || return 1
- mv "$pkgdir"/usr/lib/alsa* "$subpkgdir"/usr/lib/
-}
-
-cups() {
- pkgdesc="Bluez backend for CUPS"
- mkdir -p "$subpkgdir"/usr/lib/
- mv "$pkgdir"/usr/lib/cups "$subpkgdir"/usr/lib/
-}
-
-gstreamer() {
- pkgdesc="Bluez plugin for gstreamer"
- mkdir -p "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/gstreamer* \
- "$subpkgdir"/usr/lib/
-}
-md5sums="0a293ae6cf0d0e0bdd74fb65e655842a bluez-4.91.tar.bz2
-c511078403d7d27673581a8bb468b90b bluetooth.initd
-a159d897a057f4675548327329c4cc22 bluetooth.confd"