mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/allegro: updated for version 5.2.9.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
34fe5177f4
commit
4b65d85c00
2 changed files with 13 additions and 4 deletions
|
@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=allegro
|
||||
SRCNAM=allegro5
|
||||
VERSION=${VERSION:-5.2.8.0}
|
||||
VERSION=${VERSION:-5.2.9.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -63,6 +63,9 @@ elif [ "$ARCH" = "i686" ]; then
|
|||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
elif [ "$ARCH" = "aarch64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
|
@ -95,6 +98,12 @@ cd build
|
|||
make install DESTDIR=$PKG
|
||||
cd ..
|
||||
|
||||
# Better handling of /usr/lib${LIBDIRSUFFIX}
|
||||
[ ! -d "$PKG/usr/lib${LIBDIRSUFFIX}/cmake" ] && mv $PKG/usr/lib*/cmake $PKG/usr/lib${LIBDIRSUFFIX}/cmake
|
||||
[ ! -d "$PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig" ] && mv $PKG/usr/lib*/pkgconfig $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
|
||||
# At least for x86_64 libs are copied into both usr/lib/ and usr/lib64/
|
||||
rm -rf $(ls -d $PKG/usr/lib* | grep -v "usr/lib${LIBDIRSUFFIX}") | true
|
||||
|
||||
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
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="allegro"
|
||||
VERSION="5.2.8.0"
|
||||
VERSION="5.2.9.0"
|
||||
HOMEPAGE="https://liballeg.org/"
|
||||
DOWNLOAD="https://github.com/liballeg/allegro5/archive/5.2.8.0/allegro5-5.2.8.0.tar.gz"
|
||||
MD5SUM="4da199c59af5e519b885f52efdd39bb5"
|
||||
DOWNLOAD="https://github.com/liballeg/allegro5/archive/5.2.9.0/allegro5-5.2.9.0.tar.gz"
|
||||
MD5SUM="63e00a72f6986e439be6c092671d9460"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue