wok-next view bluez/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents f0bf21e1abf7
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="bluez"
4 VERSION="5.48"
5 CATEGORY="system-tools"
6 SHORT_DESC="Bluetooth protocol stack"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.bluez.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://www.kernel.org/pub/linux/bluetooth/$TARBALL"
15 #BUILD_DEPENDS="alsa-lib-dev dbus-dev glib-dev libusb-dev libusb-compat"
16 BUILD_DEPENDS="glib-dev dbus-dev eudev-dev libical-dev readline-dev"
17 SPLIT="bluez-tools bluez-tools-experimental bluez bluez-dev"
19 compile_rules() {
20 ./configure \
21 --enable-library \
22 --disable-systemd \
23 --enable-experimental \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install || return 1
29 mkdir -p $install/usr/sbin
30 ln -svf ../libexec/bluetooth/bluetoothd $install/usr/sbin
32 install -Dm644 src/main.conf $install/etc/bluetooth/main.conf
34 cook_pick_docs doc/*.txt
36 cp $stuff/*.conf $install/etc/bluetooth/
37 }
39 genpkg_rules() {
40 case $PACKAGE in
41 bluez-tools)
42 copy bccmd bluemoon ciptool hciattach hciconfig hcidump hcitool \
43 hex2hcd l2ping l2test mpris-proxy rctest rfcomm sdptool
44 CAT="system-tools|tools"
45 DEPENDS="dbus glib bluez"
46 ;;
47 bluez-tools-experimental)
48 copy bin/ @rm
49 rm $fs/usr/bin/bluetoothctl $fs/usr/bin/btmon # -> main package
50 CAT="system-tools|experimental tools"
51 DEPENDS="dbus eudev glib readline bluez"
52 ;;
53 bluez)
54 copy @std @rm
55 TAGS="bluetooth"
56 DEPENDS="dbus eudev glib libical readline linux-bluetooth"
57 ;;
58 *-dev)
59 copy @dev
60 ;;
61 esac
62 }