aboutsummaryrefslogtreecommitdiff
path: root/libraries/libbass/libbass.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libbass/libbass.SlackBuild')
-rw-r--r--libraries/libbass/libbass.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/libraries/libbass/libbass.SlackBuild b/libraries/libbass/libbass.SlackBuild
index 149bbebf5c00..3e52931b84fa 100644
--- a/libraries/libbass/libbass.SlackBuild
+++ b/libraries/libbass/libbass.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libbass
SRCNAM=bass
-VERSION=${VERSION:-2.4.16.7}
+VERSION=${VERSION:-2.4.17}
SRCVER=${SRCVER:-24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,6 +58,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -80,14 +83,15 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
-if [ "$ARCH" = "x86_64" ]; then
- cp x64/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
+if [ "$ARCH" = "i586" ]; then
+ cp libs/x86/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
+elif [ "$ARCH" = "arm" ]; then
+ cp libs/armhf/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
else
- cp $PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
+ cp libs/$ARCH/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
fi
-mkdir -p $PKG/usr/include
-cp $SRCNAM.h $PKG/usr/include/$SRCNAM.h
+install -D -m644 $SRCNAM.h $PKG/usr/include/$SRCNAM.h
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