# Description: Official linux bluetooth protocol stack - utilities # URL: http://www.bluez.org/ # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve # Depends on: python, cups, libusb, bluez-libs name=bluez-utils version=2.25 release=2 source=(http://bluez.sourceforge.net/download/$name-$version.tar.gz bluez-utils.gcc43.patch) build() { cd $name-$version patch -p1 -i $SRC/bluez-utils.gcc43.patch ./configure --prefix=/usr \ --sysconfdir=/etc \ --enable-alsa \ --enable-cups \ --enable-initscripts \ --enable-hid2hci \ --disable-dbus \ --disable-nls make make DESTDIR=$PKG install mv $PKG/etc/init.d $PKG/etc/rc.d sed -i 's#/etc/init.d#/etc/rc.d#' $PKG/etc/rc.d/bluetooth chown -R root:root $PKG }