wok-next view bluez/receipt @ rev 20567
xfe: update receipt; qt5: undo `fix math`
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 11 01:07:35 2018 +0300 (2018-04-11) |
parents | d43bf7aae921 |
children | 835b3b8ce6ac |
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 make &&
26 make install || return 1
28 mkdir -p $install/usr/sbin
29 ln -svf ../libexec/bluetooth/bluetoothd $install/usr/sbin
31 mkdir -p $install/etc/bluetooth
32 cp src/main.conf $install/etc/bluetooth
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 ;;
46 bluez-tools-experimental)
47 copy bin/ @rm
48 rm $fs/usr/bin/bluetoothctl $fs/usr/bin/btmon # -> main package
49 CAT="system-tools|experimental tools"
50 ;;
51 bluez)
52 copy @std @rm
53 TAGS="bluetooth"
54 DEPENDS="dbus eudev glib libical ncurses readline linux-bluetooth"
55 ;;
56 *-dev)
57 copy @dev
58 ;;
59 esac
60 }