diff options
Diffstat (limited to 'audio/nas/nas.SlackBuild')
-rw-r--r-- | audio/nas/nas.SlackBuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/audio/nas/nas.SlackBuild b/audio/nas/nas.SlackBuild index 7e6dc7fbb6..ecf0548887 100644 --- a/audio/nas/nas.SlackBuild +++ b/audio/nas/nas.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=nas -VERSION=${VERSION:-1.9.4} +VERSION=${VERSION:-1.9.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,7 +69,7 @@ rm -rf $PKG mkdir -p $TMP $PKG/etc/rc.d $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.src.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -78,10 +78,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Thanks to Gregory Guy for pointing me at the patch -# https://aur.archlinux.org/cgit/aur.git/tree/patch-llvm11.patch?h=nas -patch -p0 < $CWD/patch-llvm11.patch - xmkmf cd config CFLAGS="$SLKCFLAGS" \ @@ -97,9 +93,12 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux cd .. -# Multiple jobs fail +# Multiple jobs fail or make a lot of noise make -j1 AR="ar cq" World -make -j1 install.man install DESTDIR=$PKG +make install.man install DESTDIR=$PKG + +# remove the static library +rm -f $PKG/usr/lib64/libaudio.a find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |