void-packages/srcpkgs/bluez/template

66 lines
2.1 KiB
Text
Raw Normal View History

# Template file for 'bluez'
pkgname=bluez
2011-10-25 12:08:30 +00:00
version=4.96
distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.bz2"
build_style=gnu-configure
configure_args="--libexecdir=/lib --enable-gstreamer
2011-04-29 10:43:48 +00:00
--enable-alsa --enable-usb --enable-tools --enable-bccmd
--enable-hid2hci --enable-dfutool --enable-hidd --enable-pand --enable-dund
2011-10-25 12:08:30 +00:00
--disable-cups --enable-capng --enable-pnat
--with-systemdunitdir=/lib/systemd/system"
short_desc="Bluetooth tools and daemons"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-06-11 06:35:45 +00:00
homepage="http://www.bluez.org/"
license="GPL-2"
2011-10-25 12:08:30 +00:00
checksum=7b34aa28c831d77e92d348951653bc58347f4b6177e2f89cd5ffb8ffc37142ae
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/main.conf
2011-10-25 12:08:30 +00:00
/etc/bluetooth/rfcomm.conf
/etc/bluetooth/network.conf
2011-10-25 12:08:30 +00:00
/etc/bluetooth/input.conf
/etc/bluetooth/audio.conf
/etc/bluetooth/serial.conf"
subpackages="$pkgname-alsa $pkgname-compat $pkgname-gstreamer libbluetooth"
subpackages="$subpackages libbluetooth-devel"
Add_dependency run glibc
2011-06-11 06:35:45 +00:00
Add_dependency run libudev
Add_dependency run dbus-libs
Add_dependency run glib
Add_dependency run libusb-compat
Add_dependency run libcap-ng
Add_dependency run libbluetooth
2011-04-29 10:43:48 +00:00
Add_dependency run readline
2010-10-29 14:36:56 +00:00
Add_dependency build pkg-config
Add_dependency build flex
2011-06-11 06:35:45 +00:00
Add_dependency build libudev-devel
2011-04-29 10:43:48 +00:00
Add_dependency build readline-devel
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
2011-10-25 12:08:30 +00:00
Add_dependency build libsndfile-devel
post_install()
{
install -d ${DESTDIR}/lib/udev/rules.d
install -m644 network/network.conf input/input.conf audio/audio.conf \
2011-02-15 15:30:49 +00:00
serial/serial.conf ${DESTDIR}/etc/bluetooth
2011-01-11 22:35:13 +00:00
install -m755 scripts/bluetooth_serial ${DESTDIR}/lib/udev
install -m755 test/simple-agent \
2011-01-11 22:35:13 +00:00
${DESTDIR}/usr/bin/bluez-simple-agent
# systemd takes care of bluetoothd initialization.
rm -f ${DESTDIR}/lib/udev/rules.d/97-bluetooth.rules
2011-01-11 22:35:13 +00:00
}