diff options
Diffstat (limited to 'extra/bluez/Pkgfile')
-rw-r--r-- | extra/bluez/Pkgfile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/extra/bluez/Pkgfile b/extra/bluez/Pkgfile new file mode 100644 index 000000000..8e745d317 --- /dev/null +++ b/extra/bluez/Pkgfile @@ -0,0 +1,40 @@ +# Description: Librairie et outils pour le protocol Bluetooth +# URL: http://www.bluez.org/ +# Maintainer: tnut at nutyx dot com +# Packager: tnut at nutyx doc com +# Depends on: alsa-lib, gstreamer, libusb-compat, libnl, libsndfile, dbus-python, cups +# Run on: alsa-lib,gstreamer,libusb-compat,libnl,libsndfile,dbus-python,cups + +name=bluez +version=4.96 +release=1 +source=(http://www.kernel.org/pub/linux/bluetooth/$name-$version.tar.bz2\ + bluez) +build() { +cd $name-$version +./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libexecdir=/lib \ + --enable-gstreamer \ + --enable-alsa \ + --enable-usb \ + --enable-tools \ + --enable-bccmd \ + --enable-dfutool \ + --enable-hid2hci \ + --enable-hidd \ + --enable-pand \ + --enable-dund \ + --enable-cups +make +make DESTDIR=$PKG install +mkdir -p $PKG/etc/rc.d/{init.d,rc0.d,rc1.d,rc2.d,rc3.d,rc4.d,rc5.d,rc6.d} +install -m755 $SRC/bluez $PKG/etc/rc.d/init.d/bluez +for i in 0 1 6 + do ln -s ../init.d/bluez $PKG/etc/rc.d/rc${i}.d/K80bluez +done +for i in 2 3 4 5 + do ln -s ../init.d/bluez $PKG/etc/rc.d/rc${i}.d/S20bluez +done +} |