2009-12-03 00:36:10 +01:00
|
|
|
# Template file for 'bluez'
|
|
|
|
pkgname=bluez
|
2011-06-11 08:35:45 +02:00
|
|
|
version=4.94
|
2011-10-11 03:15:42 +02:00
|
|
|
revision=1
|
2009-12-03 00:36:10 +01:00
|
|
|
distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.bz2"
|
|
|
|
build_style=gnu_configure
|
|
|
|
configure_args="--localstatedir=/var --libexecdir=/lib --enable-gstreamer
|
2011-04-29 12:43:48 +02:00
|
|
|
--enable-alsa --enable-usb --enable-tools --enable-bccmd
|
|
|
|
--enable-hid2hci --enable-dfutool --enable-hidd --enable-pand --enable-dund
|
|
|
|
--disable-cups --enable-configfiles --enable-capng --enable-pnat"
|
2009-12-03 00:36:10 +01:00
|
|
|
short_desc="Bluetooth tools and daemons"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-11 08:35:45 +02:00
|
|
|
homepage="http://www.bluez.org/"
|
|
|
|
license="GPL-2"
|
|
|
|
checksum=26286e653361a0342349d29e302969a01d1c9d534a6ee365ccbf0a0b79b5729e
|
2009-12-03 00:36:10 +01:00
|
|
|
long_desc="
|
|
|
|
This package contains tools and system daemons for using Bluetooth devices.
|
|
|
|
|
|
|
|
BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source
|
|
|
|
project distributed under GNU General Public License (GPL)."
|
|
|
|
|
|
|
|
conf_files="
|
|
|
|
/etc/bluetooth/audio.conf
|
|
|
|
/etc/bluetooth/input.conf
|
|
|
|
/etc/bluetooth/main.conf
|
|
|
|
/etc/bluetooth/network.conf
|
2011-02-15 16:30:49 +01:00
|
|
|
/etc/bluetooth/serial.conf
|
2009-12-03 00:36:10 +01:00
|
|
|
/etc/bluetooth/rfcomm.conf"
|
|
|
|
|
|
|
|
subpackages="$pkgname-alsa $pkgname-compat $pkgname-gstreamer libbluetooth"
|
|
|
|
subpackages="$subpackages libbluetooth-devel"
|
|
|
|
|
2010-01-09 23:13:50 +01:00
|
|
|
Add_dependency run glibc
|
2011-06-11 08:35:45 +02:00
|
|
|
Add_dependency run libudev
|
2010-01-14 16:58:55 +01:00
|
|
|
Add_dependency run dbus-libs
|
2010-01-09 23:13:50 +01:00
|
|
|
Add_dependency run glib
|
|
|
|
Add_dependency run libusb-compat
|
|
|
|
Add_dependency run libcap-ng
|
|
|
|
Add_dependency run libbluetooth
|
2011-04-29 12:43:48 +02:00
|
|
|
Add_dependency run readline
|
2010-10-29 16:36:56 +02:00
|
|
|
|
2009-12-03 00:36:10 +01:00
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build flex
|
2011-06-11 08:35:45 +02:00
|
|
|
Add_dependency build libudev-devel
|
2011-04-29 12:43:48 +02:00
|
|
|
Add_dependency build readline-devel
|
2010-01-09 23:13:50 +01:00
|
|
|
Add_dependency build gst-plugins-base-devel
|
|
|
|
Add_dependency build alsa-lib-devel
|
|
|
|
Add_dependency build dbus-devel
|
|
|
|
Add_dependency build glib-devel
|
|
|
|
Add_dependency build libusb-compat-devel
|
|
|
|
Add_dependency build libcap-ng-devel
|
2009-12-03 00:36:10 +01:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2010-01-14 16:58:55 +01:00
|
|
|
install -d ${DESTDIR}/lib/udev/rules.d
|
2009-12-03 00:36:10 +01:00
|
|
|
install -m644 network/network.conf input/input.conf audio/audio.conf \
|
2011-02-15 16:30:49 +01:00
|
|
|
serial/serial.conf ${DESTDIR}/etc/bluetooth
|
2011-01-11 23:35:13 +01:00
|
|
|
install -m755 scripts/bluetooth_serial ${DESTDIR}/lib/udev
|
2009-12-03 00:36:10 +01:00
|
|
|
install -m755 test/simple-agent \
|
2011-01-11 23:35:13 +01:00
|
|
|
${DESTDIR}/usr/bin/bluez-simple-agent
|
2011-10-11 03:15:42 +02:00
|
|
|
|
|
|
|
# systemd takes care of bluetoothd initialization.
|
|
|
|
vinstall ${FILESDIR}/bluetooth.service 644 lib/systemd/system
|
|
|
|
rm -f ${DESTDIR}/lib/udev/rules.d/97-bluetooth.rules
|
2011-01-11 23:35:13 +01:00
|
|
|
}
|