mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
libraries/libbass: Updated for version 2.4.17.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
183477c0ed
commit
99548ba3f2
2 changed files with 12 additions and 8 deletions
|
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=libbass
|
PRGNAM=libbass
|
||||||
SRCNAM=bass
|
SRCNAM=bass
|
||||||
VERSION=${VERSION:-2.4.16.7}
|
VERSION=${VERSION:-2.4.17}
|
||||||
SRCVER=${SRCVER:-24}
|
SRCVER=${SRCVER:-24}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -58,6 +58,9 @@ elif [ "$ARCH" = "i686" ]; then
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
LIBDIRSUFFIX="64"
|
LIBDIRSUFFIX="64"
|
||||||
|
elif [ "$ARCH" = "aarch64" ]; then
|
||||||
|
SLKCFLAGS="-O2"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
else
|
else
|
||||||
SLKCFLAGS="-O2"
|
SLKCFLAGS="-O2"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
|
@ -80,14 +83,15 @@ find -L . \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
|
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
|
||||||
if [ "$ARCH" = "x86_64" ]; then
|
if [ "$ARCH" = "i586" ]; then
|
||||||
cp x64/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
|
cp libs/x86/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
|
||||||
|
elif [ "$ARCH" = "arm" ]; then
|
||||||
|
cp libs/armhf/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
|
||||||
else
|
else
|
||||||
cp $PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
|
cp libs/$ARCH/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p $PKG/usr/include
|
install -D -m644 $SRCNAM.h $PKG/usr/include/$SRCNAM.h
|
||||||
cp $SRCNAM.h $PKG/usr/include/$SRCNAM.h
|
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="libbass"
|
PRGNAM="libbass"
|
||||||
VERSION="2.4.16.7"
|
VERSION="2.4.17"
|
||||||
HOMEPAGE="https://www.un4seen.com"
|
HOMEPAGE="https://www.un4seen.com"
|
||||||
DOWNLOAD="http://www.un4seen.com/files/bass24-linux.zip"
|
DOWNLOAD="http://www.un4seen.com/files/bass24-linux.zip"
|
||||||
MD5SUM="ae02976f74b070f811e889bd4feb6fc4"
|
MD5SUM="a9ea0bca8e1da1d3759cc0d0dc7e6bbe"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in a new issue