summaryrefslogtreecommitdiffstats
path: root/extra/bluez/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bluez/Pkgfile')
-rwxr-xr-xextra/bluez/Pkgfile58
1 files changed, 58 insertions, 0 deletions
diff --git a/extra/bluez/Pkgfile b/extra/bluez/Pkgfile
new file mode 100755
index 000000000..6b741f454
--- /dev/null
+++ b/extra/bluez/Pkgfile
@@ -0,0 +1,58 @@
+# Description: Librairies et outils pour le bluetooth
+# URL: http://www.bluez.org/
+# Maintainer: NuTyX packager team
+# Packager: lesibel at free dot fr
+# Depends on: dbus, gstreamer, libnl, libsndfile, dbus-python, pygobject, libusb, cups
+
+name=bluez
+version=4.69
+release=1
+source=(http://www.kernel.org/pub/linux/bluetooth/$name-$version.tar.bz2
+ bluetooth.conf.d
+ rc.bluetooth)
+
+build() {
+ cd $name-$version
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/lib \
+ --mandir=/usr/share/man \
+ --enable-network \
+ --enable-serial \
+ --enable-input \
+ --enable-audio \
+ --enable-service \
+ --enable-gstreamer \
+ --enable-alsa \
+ --enable-usb \
+ --enable-netlink \
+ --enable-tools \
+ --enable-bccmd \
+ --enable-dfutool \
+ --enable-hidd \
+ --enable-pand \
+ --enable-dund \
+ --enable-cups \
+ --enable-udevrules \
+ --enable-configfiles
+ make -j5
+ make DESTDIR=$PKG install
+
+ install -Dm755 $SRC/rc.bluetooth $PKG/etc/rc.d/init.d/bluetooth
+
+ install -d $PKG/etc/bluetooth
+ install -m644 network/network.conf \
+ input/input.conf \
+ audio/audio.conf \
+ serial/serial.conf \
+ $PKG/etc/bluetooth/
+
+ install -Dm644 $SRC/bluetooth.conf.d \
+ $PKG/etc/conf.d/bluetooth
+
+ install -Dm755 test/simple-agent \
+ $PKG/usr/bin/bluez-simple-agent
+}
+