summaryrefslogtreecommitdiffstats
path: root/bluez/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'bluez/Pkgfile')
-rw-r--r--bluez/Pkgfile19
1 files changed, 8 insertions, 11 deletions
diff --git a/bluez/Pkgfile b/bluez/Pkgfile
index f9ce231b8..0facd7dc5 100644
--- a/bluez/Pkgfile
+++ b/bluez/Pkgfile
@@ -6,12 +6,15 @@
# Run on: alsa-lib,gst-plugins-base,libusb-compat,libnl,libsndfile,dbus-python,cups
name=bluez
-version=4.99
+version=4.101
release=1
-source=(http://www.kernel.org/pub/linux/bluetooth/$name-$version.tar.xz
- bluez)
+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 \
@@ -33,12 +36,6 @@ build() {
install -m644 network/network.conf input/input.conf audio/audio.conf serial/serial.conf $PKG/etc/bluetooth
- 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/K40bluez
- done
- for i in 2 3 4 5
- do ln -s ../init.d/bluez $PKG/etc/rc.d/rc${i}.d/S30bluez
- done
+ cd ../$scripts-$scriptsversion
+ make DESTDIR=$PKG install-bluetooth
}