wok rev 5076

Up: bluez; add more bluetooth tools
author Rohit Joshi <jozee@slitaz.org>
date Fri Mar 12 12:25:28 2010 +0000 (2010-03-12)
parents e8a9cb9ba199
children d1b3e0e901ca
files bluez/receipt
line diff
     1.1 --- a/bluez/receipt	Fri Mar 12 11:53:43 2010 +0000
     1.2 +++ b/bluez/receipt	Fri Mar 12 12:25:28 2010 +0000
     1.3 @@ -1,18 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="bluez"
     1.7 -VERSION="4.54"
     1.8 +VERSION="4.62"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Bluetooth protocol stack."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  DEPENDS="linux-bluetooth alsa-lib glib dbus"
    1.13 -BUILD_DEPENDS="alsa-lib-dev"
    1.14 +BUILD_DEPENDS="alsa-lib-dev dbus-dev glib-dev"
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WEB_SITE="http://www.bluez.org/"
    1.17  WGET_URL="http://www.kernel.org/pub/linux/bluetooth/$TARBALL"
    1.18  TAGS="bluetooth"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21 +
    1.22  compile_rules()
    1.23  {
    1.24  	cd $src
    1.25 @@ -22,6 +23,18 @@
    1.26  		--localstatedir=/var \
    1.27  		--mandir=/usr/share/man \
    1.28  		--disable-gstreamer \
    1.29 +		--disable-network \
    1.30 +		--disable-input \
    1.31 +		--enable-alsa \
    1.32 +		--enable-usb \
    1.33 +		--enable-tools \
    1.34 +		--enable-cups \
    1.35 +		--enable-hid2hci \
    1.36 +		--enable-hidd \
    1.37 +		--enable-dund \
    1.38 +		--enable-dfutool \
    1.39 +		--enable-udevrules \
    1.40 +		--enable-configfiles \
    1.41  		$CONFIGURE_ARGS &&
    1.42  	make &&
    1.43  	make DESTDIR=$PWD/_pkg install
    1.44 @@ -30,14 +43,18 @@
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.46  genpkg_rules()
    1.47  {
    1.48 -	mkdir -p $fs/usr/lib/alsa-lib
    1.49 +	mkdir -p $fs/usr/lib/alsa-lib $fs/etc/init.d/
    1.50  	cp -a $_pkg/usr/bin $fs/usr
    1.51  	cp -a $_pkg/usr/sbin $fs/usr
    1.52  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.53  	cp -a $_pkg/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
    1.54  	cp -a $_pkg/usr/lib/bluetooth $fs/usr/lib
    1.55 +	cp -a $_pkg/usr/lib/cups $fs/usr/lib
    1.56  	cp -a $_pkg/etc $fs
    1.57  	cp -a $_pkg/var $fs
    1.58 -	# Udev rules
    1.59 -	cp -a $_pkg/lib/udev $fs/etc
    1.60 +	
    1.61 +	#some extra tools and config files
    1.62 +	cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent
    1.63 +	cp  $src/audio/audio.conf $fs/etc/bluetooth
    1.64 +    
    1.65  }