wok-next view bluez/receipt @ rev 21507

updated autoconf-archive (2018.03.13 -> 2019.01.06)
author Hans-G?nter Theisgen
date Fri Jun 19 08:08:00 2020 +0100 (2020-06-19)
parents f48456621a9d
children 8b30d0016998
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="devel@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="$PACKAGE-tools $PACKAGE-tools-experimental $PACKAGE $PACKAGE-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 }