[arch-commits] CVS update of extra/system/bluez-utils (PKGBUILD)

Thomas Baechler thomas at archlinux.org
Tue Jan 22 09:53:07 UTC 2008


    Date: Tuesday, January 22, 2008 @ 10:53:07
  Author: thomas
    Path: /home/cvs-extra/extra/system/bluez-utils

Modified: PKGBUILD (1.35 -> 1.36)

upgpkg: bluez-utils 3.24-2


----------+
 PKGBUILD |   20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)


Index: extra/system/bluez-utils/PKGBUILD
diff -u extra/system/bluez-utils/PKGBUILD:1.35 extra/system/bluez-utils/PKGBUILD:1.36
--- extra/system/bluez-utils/PKGBUILD:1.35	Wed Jan  9 07:40:04 2008
+++ extra/system/bluez-utils/PKGBUILD	Tue Jan 22 10:53:06 2008
@@ -1,14 +1,18 @@
-# $Id: PKGBUILD,v 1.35 2008/01/09 06:40:04 thomas Exp $
+# $Id: PKGBUILD,v 1.36 2008/01/22 09:53:06 thomas Exp $
 pkgname=bluez-utils
 pkgver=3.24
-pkgrel=1
+pkgrel=2
 pkgdesc="Utilities for the Linux Bluetooth protocol stack"
 arch=(i686 x86_64)
 url="http://www.bluez.org/"
-makedepends=('alsa-lib')
-depends=('bluez-libs>=3.14' 'libusb' 'dbus>=0.93')
+makedepends=('alsa-lib' 'hal')
+depends=("bluez-libs=$pkgver" 'libusb' 'dbus>=0.93')
+optdepends=('alsa-lib: support for bluetooth audio'
+            'hal: support for bluetooth networking')
 license=('GPL')
-backup=(etc/bluetooth/{hcid.conf,rfcomm.conf,pin} etc/conf.d/bluetooth)
+backup=(etc/bluetooth/{audio,hcid,network,rfcomm}.conf 
+        etc/bluetooth/{audio,input,network,serial}.service
+        etc/conf.d/bluetooth)
 source=(http://bluez.sf.net/download/bluez-utils-${pkgver}.tar.gz
         bluetooth.rc bluetooth.conf.d)
 options=(!libtool)
@@ -21,11 +25,15 @@
   ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/lib \
     --localstatedir=/var --enable-pcmcia --enable-inotify --enable-alsa \
     --enable-cups --enable-pcmciarules --enable-bccmd --enable-avctrl \
-    --enable-dfutool --enable-audio
+    --enable-dfutool --enable-audio --enable-input --enable-network \
+    --enable-serial --enable-hal
   make || return 1
   # appease the RedHat-centric Makefile
   mkdir -p ${startdir}/pkg/etc/init.d
   make DESTDIR=${startdir}/pkg install || return 1
+  
+  install -D -m644 ${startdir}/src/bluez-utils-${pkgver}/network/network.conf ${startdir}/pkg/etc/bluetooth/network.conf
+  
   rm -rf ${startdir}/pkg/etc/init.d ${startdir}/pkg/etc/rc.d
   
   install -D -m755 ${startdir}/src/bluetooth.rc ${startdir}/pkg/etc/rc.d/bluetooth || return 1




More information about the arch-commits mailing list