diff options
author | khronosschoty <khronosschoty@posteo.org> | 2018-10-30 15:35:44 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-03 07:46:40 +0700 |
commit | 988648e36d75e444f038cab42f0b318c62faaca8 (patch) | |
tree | 872c6a7cca51eeaa6c72d358c37b61fd3559208d /libraries/bluez-alsa | |
parent | c935c196582743207051a87f08f5178f02b39240 (diff) |
libraries/bluez-alsa: Fix SlackBuild.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/bluez-alsa')
-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 1370e14a635e..c30d02528eae 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 920e24675c6e..07fbde6863d5 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 \ |