summaryrefslogtreecommitdiffstats
path: root/bluez/Pkgfile
blob: 0facd7dc512f2581eced36e7db05e2be4caa839f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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: libvorbis,alsa-lib, gst-plugins-base, libusb-compat, libnl, libsndfile, dbus-python, cups
# Run on: alsa-lib,gst-plugins-base,libusb-compat,libnl,libsndfile,dbus-python,cups

name=bluez
version=4.101
release=1
source=(http://www.kernel.org/pub/linux/bluetooth/$name-$version.tar.xz)

build() {
	source /etc/blfs-bootscripts
	wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
	tar xvf $scripts-$scriptsversion.tar.bz2

	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

	install -m644 network/network.conf input/input.conf audio/audio.conf serial/serial.conf $PKG/etc/bluetooth

	cd ../$scripts-$scriptsversion
	make DESTDIR=$PKG install-bluetooth
}