diff options
Diffstat (limited to 'libraries/bluez-alsa/bluez-alsa.SlackBuild')
-rw-r--r-- | libraries/bluez-alsa/bluez-alsa.SlackBuild | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/libraries/bluez-alsa/bluez-alsa.SlackBuild b/libraries/bluez-alsa/bluez-alsa.SlackBuild index 920e24675c6ee..07fbde6863d59 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 \ |