wok-next annotate bluez/receipt @ rev 20834
prosody: interesting, requires lua 5.1, and not 5.3
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Jun 17 19:14:11 2018 +0000 (2018-06-17) |
parents | 835b3b8ce6ac |
children | f48456621a9d |
rev | line source |
---|---|
al@19850 | 1 # SliTaz package receipt v2. |
pankso@4357 | 2 |
pankso@4357 | 3 PACKAGE="bluez" |
al@20680 | 4 VERSION="5.48" |
pankso@4357 | 5 CATEGORY="system-tools" |
al@19850 | 6 SHORT_DESC="Bluetooth protocol stack" |
pankso@4357 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@19278 | 9 WEB_SITE="http://www.bluez.org/" |
al@20534 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/bluez.html" |
pankso@4357 | 11 |
al@19850 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19850 | 13 WGET_URL="http://www.kernel.org/pub/linux/bluetooth/$TARBALL" |
al@19850 | 14 |
al@20534 | 15 #BUILD_DEPENDS="alsa-lib-dev dbus-dev glib-dev libusb-dev libusb-compat" |
al@20534 | 16 BUILD_DEPENDS="glib-dev dbus-dev eudev-dev libical-dev readline-dev" |
al@19850 | 17 SPLIT="bluez-tools bluez-tools-experimental bluez bluez-dev" |
al@19850 | 18 |
al@20534 | 19 compile_rules() { |
pankso@4357 | 20 ./configure \ |
al@19850 | 21 --enable-library \ |
al@19850 | 22 --disable-systemd \ |
al@19850 | 23 --enable-experimental \ |
pankso@4357 | 24 $CONFIGURE_ARGS && |
al@20569 | 25 fix libtool && |
al@20534 | 26 make && |
al@20534 | 27 make install || return 1 |
al@19850 | 28 |
al@19850 | 29 mkdir -p $install/usr/sbin |
al@19850 | 30 ln -svf ../libexec/bluetooth/bluetoothd $install/usr/sbin |
al@19850 | 31 |
al@20680 | 32 install -Dm644 src/main.conf $install/etc/bluetooth/main.conf |
al@19850 | 33 |
al@20534 | 34 cook_pick_docs doc/*.txt |
al@19850 | 35 |
al@19850 | 36 cp $stuff/*.conf $install/etc/bluetooth/ |
pankso@4357 | 37 } |
pankso@4357 | 38 |
al@20534 | 39 genpkg_rules() { |
al@19850 | 40 case $PACKAGE in |
al@19850 | 41 bluez-tools) |
al@19850 | 42 copy bccmd bluemoon ciptool hciattach hciconfig hcidump hcitool \ |
al@19850 | 43 hex2hcd l2ping l2test mpris-proxy rctest rfcomm sdptool |
al@19850 | 44 CAT="system-tools|tools" |
al@20680 | 45 DEPENDS="dbus glib bluez" |
al@19850 | 46 ;; |
al@19850 | 47 bluez-tools-experimental) |
al@20513 | 48 copy bin/ @rm |
al@19850 | 49 rm $fs/usr/bin/bluetoothctl $fs/usr/bin/btmon # -> main package |
al@19850 | 50 CAT="system-tools|experimental tools" |
al@20680 | 51 DEPENDS="dbus eudev glib readline bluez" |
al@19850 | 52 ;; |
al@19850 | 53 bluez) |
al@20513 | 54 copy @std @rm |
al@19850 | 55 TAGS="bluetooth" |
al@20680 | 56 DEPENDS="dbus eudev glib libical readline linux-bluetooth" |
al@19850 | 57 ;; |
al@19850 | 58 *-dev) |
al@19850 | 59 copy @dev |
al@19850 | 60 ;; |
al@19850 | 61 esac |
pankso@4357 | 62 } |