bluez: added runit service.

This commit is contained in:
Juan RP 2014-10-13 12:50:01 +02:00
parent f92924db9c
commit 6b618479ae
2 changed files with 5 additions and 3 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec /usr/libexec/bluetooth/bluetoothd -n >/dev/null

View File

@ -1,7 +1,7 @@
# Template file for 'bluez' # Template file for 'bluez'
pkgname=bluez pkgname=bluez
version=5.24 version=5.24
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-udevdir=/usr/lib/udev configure_args="--with-udevdir=/usr/lib/udev
--enable-pie --enable-threads --enable-library" --enable-pie --enable-threads --enable-library"
@ -9,6 +9,7 @@ hostmakedepends="automake libtool pkg-config flex"
makedepends="libglib-devel libudev-devel dbus-devel makedepends="libglib-devel libudev-devel dbus-devel
cups-devel libical-devel readline-devel>=6.3" cups-devel libical-devel readline-devel>=6.3"
conf_files="/etc/bluetooth/main.conf" conf_files="/etc/bluetooth/main.conf"
replaces="runit-void<20141013_2"
short_desc="Bluetooth tools and daemons" short_desc="Bluetooth tools and daemons"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.bluez.org/" homepage="http://www.bluez.org/"
@ -32,6 +33,7 @@ pre_configure() {
} }
post_install() { post_install() {
vinstall ${wrksrc}/src/main.conf 644 etc/bluetooth vinstall ${wrksrc}/src/main.conf 644 etc/bluetooth
vsv bluetoothd
} }
libbluetooth_package() { libbluetooth_package() {
@ -40,7 +42,6 @@ libbluetooth_package() {
vmove "usr/lib/libbluetooth.so.*" vmove "usr/lib/libbluetooth.so.*"
} }
} }
libbluetooth-devel_package() { libbluetooth-devel_package() {
depends="libbluetooth>=${version}_${revision}" depends="libbluetooth>=${version}_${revision}"
short_desc="Development files to use the BlueZ Linux Bluetooth library" short_desc="Development files to use the BlueZ Linux Bluetooth library"
@ -50,7 +51,6 @@ libbluetooth-devel_package() {
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
} }
} }
bluez-cups_package() { bluez-cups_package() {
short_desc="CUPS printer backend for Bluetooth printers" short_desc="CUPS printer backend for Bluetooth printers"
pkg_install() { pkg_install() {