diff options
author | Johannes Schoepfer <slackbuilds[at]schoepfer[dot]info> | 2017-04-16 23:01:35 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-17 07:45:35 +0700 |
commit | 03d50eab090db95c88000986dc3ec26683318a1d (patch) | |
tree | 471d47209253d14dcb4e079cd5d070eb9d60908e /libraries/physfs | |
parent | a3b0548ccf83621e8e652cb1967fa478ff92b5eb (diff) | |
download | slackbuilds-03d50eab090db95c88000986dc3ec26683318a1d.tar.gz |
libraries/physfs: New maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/physfs')
-rw-r--r-- | libraries/physfs/physfs.SlackBuild | 13 | ||||
-rw-r--r-- | libraries/physfs/physfs.info | 4 |
2 files changed, 9 insertions, 8 deletions
diff --git a/libraries/physfs/physfs.SlackBuild b/libraries/physfs/physfs.SlackBuild index 57c1824730..efb820ce35 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 7b3adfea06..4a3f5e383a 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" |