python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / bluez / template
blobf56cecc2c07a90cfd5dfa3acb8e5b74b5a549a10
1 # Template file for 'bluez'
2 pkgname=bluez
3 version=5.49
4 revision=1
5 build_style=gnu-configure
6 configure_args="--with-udevdir=/usr/lib/udev --disable-systemd
7  --enable-sixaxis --enable-threads --enable-library"
8 hostmakedepends="automake libtool pkg-config flex"
9 makedepends="libglib-devel eudev-libudev-devel dbus-devel
10  cups-devel libical-devel readline-devel"
11 conf_files="/etc/bluetooth/main.conf"
12 system_groups="bluetooth"
13 short_desc="Bluetooth tools and daemons"
14 maintainer="Juan RP <xtraeme@voidlinux.eu>"
15 homepage="http://www.bluez.org/"
16 license="GPL-2.0-or-later, LGPL-2.1-or-later"
17 distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.xz"
18 checksum=33301d7a514c73d535ee1f91c2aed1af1f2e53efe11d3ac06bcf0d7abed2ce95
20 pre_configure() {
21         autoreconf -fi
23 post_install() {
24         vinstall ${wrksrc}/src/main.conf 644 etc/bluetooth
25         vsv bluetoothd
28 libbluetooth_package() {
29         short_desc="Library to use the Bluez Linux Bluetooth Stack"
30         pkg_install() {
31                 vmove "usr/lib/libbluetooth.so.*"
32         }
34 libbluetooth-devel_package() {
35         depends="libbluetooth>=${version}_${revision}"
36         short_desc="Development files to use the BlueZ Linux Bluetooth library"
37         pkg_install() {
38                 vmove usr/include
39                 vmove usr/lib/pkgconfig
40                 vmove "usr/lib/*.so"
41         }
43 bluez-cups_package() {
44         short_desc="CUPS printer backend for Bluetooth printers"
45         pkg_install() {
46                 vmove usr/lib/cups/backend/bluetooth
47         }