diff options
-rw-r--r-- | libraries/bluez-alsa/README | 7 | ||||
-rw-r--r-- | libraries/bluez-alsa/bluez-alsa.SlackBuild | 36 |
2 files changed, 24 insertions, 19 deletions
diff --git a/libraries/bluez-alsa/README b/libraries/bluez-alsa/README index 1370e14a63..c30d02528e 100644 --- a/libraries/bluez-alsa/README +++ b/libraries/bluez-alsa/README @@ -6,6 +6,7 @@ party audio applications. From now on, Bluez acts as a middleware between an audio application, which implements Bluetooth audio profile, and a Bluetooth audio device. -Note: you might want to "start" "/usr/bin/bluealsa" via rc.local -- in example -add the following line to rc.local: -/usr/bin/bluealsa & +Note: you might want to "start" "/usr/bin/bluealsa" via rc.local -- +for example, add the following line to rc.local: + + /usr/bin/bluealsa & diff --git a/libraries/bluez-alsa/bluez-alsa.SlackBuild b/libraries/bluez-alsa/bluez-alsa.SlackBuild index 920e24675c..07fbde6863 100644 --- a/libraries/bluez-alsa/bluez-alsa.SlackBuild +++ b/libraries/bluez-alsa/bluez-alsa.SlackBuild @@ -69,27 +69,31 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ autoreconf --install -mkdir build && cd build -../configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-payloadcheck \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG + +mkdir build +cd build + + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + ../configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-payloadcheck \ + --build=$ARCH-slackware-linux + + make + make install DESTDIR=$PKG + +cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -cd .. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ README.md \ |