diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-19 08:02:28 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-19 08:02:28 +0000 |
commit | 80b81a91d09812b6ff99c9cb1cd93f757327bc8c (patch) | |
tree | 15935bdb13efa85efb00919cd4ed0c4e9d353a57 /testing/bluez/APKBUILD | |
parent | 1c6f938da5885d7c1390baac9f2e3d8deaf0c641 (diff) | |
download | aports-80b81a91d09812b6ff99c9cb1cd93f757327bc8c.tar.bz2 aports-80b81a91d09812b6ff99c9cb1cd93f757327bc8c.tar.xz |
testing/bluez: added init.d script
Diffstat (limited to 'testing/bluez/APKBUILD')
-rw-r--r-- | testing/bluez/APKBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/testing/bluez/APKBUILD b/testing/bluez/APKBUILD index 32c9ec976c..b8a18a350e 100644 --- a/testing/bluez/APKBUILD +++ b/testing/bluez/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=bluez pkgver=4.64 -pkgrel=0 +pkgrel=1 pkgdesc="Tools for the Bluetooth protocol stack" url="http://www.bluez.org/" license="GPL2" @@ -9,7 +9,10 @@ depends= makedepends="dbus-dev gstreamer-dev alsa-lib-dev libusb-dev libnl-dev" subpackages="$pkgname-dev $pkgname-doc libbluetooth $pkgname-alsa $pkgname-cups $pkgname-netlink" -source="http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2" +source="http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2 + bluetooth.initd + bluetooth.confd + " _builddir="$srcdir"/$pkgname-$pkgver build() { @@ -39,6 +42,8 @@ build() { 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 } libbluetooth() { @@ -67,4 +72,6 @@ netlink() { "$subpkgdir"/usr/lib/bluetooth/plugins } -md5sums="d6e60bad937fe72b0bc77e327ee470b0 bluez-4.64.tar.bz2" +md5sums="d6e60bad937fe72b0bc77e327ee470b0 bluez-4.64.tar.bz2 +66408fb89b05e7ce7e61c4c3c356d2c6 bluetooth.initd +a159d897a057f4675548327329c4cc22 bluetooth.confd" |