diff options
Diffstat (limited to 'source/n/bluez/bluez.SlackBuild')
-rwxr-xr-x | source/n/bluez/bluez.SlackBuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/source/n/bluez/bluez.SlackBuild b/source/n/bluez/bluez.SlackBuild index ec5cba26..0403c932 100755 --- a/source/n/bluez/bluez.SlackBuild +++ b/source/n/bluez/bluez.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for bluez-utils - http://www.bluez.org +# Slackware build script for bluez - http://www.bluez.org -# Copyright 2009, 2010 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PKGNAM=bluez -VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j7 "} @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG cd $TMP rm -rf $PKGNAM-$VERSION -tar xvf $CWD/${PKGNAM}-${VERSION}.tar.?z* || exit 1 +tar xvf $CWD/${PKGNAM}-${VERSION}.tar.xz || exit 1 cd $PKGNAM-$VERSION chown -R root:root . @@ -92,7 +92,6 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-gstreamer \ --enable-alsa \ --enable-usb \ - --enable-netlink \ --enable-tools\ --enable-bccmd \ --enable-hid2hci \ @@ -108,7 +107,7 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make $NUMJOBS || make || exit 1 -make install DESTDIR=$PKG +make install DESTDIR=$PKG || exit 1 # I'm don't think we need this, but I'll leave it commented just in case: # http://bugs.archlinux.org/task/4930 @@ -136,6 +135,10 @@ cp -a serial/serial.conf $PKG/etc/bluetooth cp -a tools/rfcomm.conf $PKG/etc/bluetooth chmod 644 $PKG/etc/bluetooth/*.conf +mkdir -p $PKG/etc/alsa +mv $PKG/usr/share/alsa/bluetooth.conf $PKG/etc/alsa +( cd $PKG/usr/share/alsa ; ln -s ../../../etc/alsa/bluetooth.conf . ) + # Do not overwrite configuration # Well, let the dbus file be overwritten, as it is not usually user-edited. ( cd $PKG |