aboutsummaryrefslogtreecommitdiff
path: root/libraries/physfs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/physfs')
-rw-r--r--libraries/physfs/physfs.SlackBuild13
-rw-r--r--libraries/physfs/physfs.info4
2 files changed, 9 insertions, 8 deletions
diff --git a/libraries/physfs/physfs.SlackBuild b/libraries/physfs/physfs.SlackBuild
index 57c18247300ac..efb820ce3557a 100644
--- a/libraries/physfs/physfs.SlackBuild
+++ b/libraries/physfs/physfs.SlackBuild
@@ -3,7 +3,8 @@
# Slackware build script for physfs
#
# Copyright 2009-2013 Erik W. Hanson, Minneapolis, MN, USA
-# Copyright 2015 Andrew Strong, Blue Mountains Australia
+# Copyright 2015 Andrew Strong, Blue Mountains Australia
+# Copyright 2017 Johannes Schoepfer
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -30,7 +31,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -73,8 +74,8 @@ find -L . \
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DPHYSFS_ARCHIVE_7Z=OFF \
-DPHYSFS_BUILD_SHARED=ON \
+ -DPHYSFS_BUILD_STATIC=OFF \
-DPHYSFS_BUILD_TEST=OFF \
-DPHYSFS_BUILD_WX_TEST=OFF \
-DPHYSFS_INTERNAL_ZLIB=OFF \
@@ -85,7 +86,7 @@ cmake \
make
make install DESTDIR=$PKG
-find $PKG | xargs 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/libraries/physfs/physfs.info b/libraries/physfs/physfs.info
index 7b3adfea06e2b..4a3f5e383a6d8 100644
--- a/libraries/physfs/physfs.info
+++ b/libraries/physfs/physfs.info
@@ -6,5 +6,5 @@ MD5SUM="c2c727a8a8deb623b521b52d0080f613"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Andrew Strong"
-EMAIL="andrew.david.strong@gmail.com"
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds[at]schoepfer[dot]info"