wok-next view bluez/receipt @ rev 20678

Up clisp (2.50)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 15 02:59:03 2018 +0300 (2018-05-15)
parents 757d032c55c7
children f0bf21e1abf7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="bluez"
4 VERSION="5.43"
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/stable/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 mkdir -p $install/etc/bluetooth
33 cp src/main.conf $install/etc/bluetooth
35 cook_pick_docs doc/*.txt
37 cp $stuff/*.conf $install/etc/bluetooth/
38 }
40 genpkg_rules() {
41 case $PACKAGE in
42 bluez-tools)
43 copy bccmd bluemoon ciptool hciattach hciconfig hcidump hcitool \
44 hex2hcd l2ping l2test mpris-proxy rctest rfcomm sdptool
45 CAT="system-tools|tools"
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 ;;
52 bluez)
53 copy @std @rm
54 TAGS="bluetooth"
55 DEPENDS="dbus eudev glib libical ncurses readline linux-bluetooth"
56 ;;
57 *-dev)
58 copy @dev
59 ;;
60 esac
61 }