wok-next diff bluez/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
line diff
     1.1 --- a/bluez/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/bluez/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,10 +1,10 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="bluez"
     1.7 -VERSION="5.48"
     1.8 +VERSION="5.54"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Bluetooth protocol stack"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://www.bluez.org/"
    1.15  LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html"
    1.16 @@ -13,14 +13,15 @@
    1.17  WGET_URL="http://www.kernel.org/pub/linux/bluetooth/$TARBALL"
    1.18  
    1.19  #BUILD_DEPENDS="alsa-lib-dev dbus-dev glib-dev libusb-dev libusb-compat"
    1.20 -BUILD_DEPENDS="glib-dev dbus-dev eudev-dev libical-dev readline-dev"
    1.21 +BUILD_DEPENDS="dbus-dev eudev-dev glib-dev libical-dev readline-dev"
    1.22  SPLIT="$PACKAGE-tools $PACKAGE-tools-experimental $PACKAGE $PACKAGE-dev"
    1.23  
    1.24 -compile_rules() {
    1.25 -	./configure \
    1.26 -		--enable-library \
    1.27 -		--disable-systemd \
    1.28 -		--enable-experimental \
    1.29 +compile_rules()
    1.30 +{
    1.31 +	./configure			\
    1.32 +		--enable-library	\
    1.33 +		--disable-systemd	\
    1.34 +		--enable-experimental	\
    1.35  		$CONFIGURE_ARGS &&
    1.36  	fix libtool &&
    1.37  	make &&
    1.38 @@ -29,31 +30,32 @@
    1.39  	mkdir -p $install/usr/sbin
    1.40  	ln -svf ../libexec/bluetooth/bluetoothd $install/usr/sbin
    1.41  
    1.42 -	install -Dm644 src/main.conf $install/etc/bluetooth/main.conf
    1.43 +	install -Dm644 src/main.conf	$install/etc/bluetooth/main.conf
    1.44  
    1.45  	cook_pick_docs doc/*.txt
    1.46  
    1.47 -	cp $stuff/*.conf $install/etc/bluetooth/
    1.48 +	cp $stuff/*.conf		$install/etc/bluetooth/
    1.49  }
    1.50  
    1.51 -genpkg_rules() {
    1.52 +genpkg_rules()
    1.53 +{
    1.54  	case $PACKAGE in
    1.55  		bluez-tools)
    1.56  			copy bccmd bluemoon ciptool hciattach hciconfig hcidump hcitool \
    1.57  			hex2hcd l2ping l2test mpris-proxy rctest rfcomm sdptool
    1.58  			CAT="system-tools|tools"
    1.59 -			DEPENDS="dbus glib   bluez"
    1.60 +			DEPENDS="bluez dbus glib"
    1.61  			;;
    1.62  		bluez-tools-experimental)
    1.63  			copy bin/ @rm
    1.64  			rm $fs/usr/bin/bluetoothctl $fs/usr/bin/btmon	# -> main package
    1.65  			CAT="system-tools|experimental tools"
    1.66 -			DEPENDS="dbus eudev glib readline   bluez"
    1.67 +			DEPENDS="bluez dbus eudev glib readline"
    1.68  			;;
    1.69  		bluez)
    1.70  			copy @std @rm
    1.71  			TAGS="bluetooth"
    1.72 -			DEPENDS="dbus eudev glib libical readline   linux-bluetooth"
    1.73 +			DEPENDS="dbus eudev glib libical linux-bluetooth readline"
    1.74  			;;
    1.75  		*-dev)
    1.76  			copy @dev