libraries/physfs: Updated for version 2.0.3.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Erik Hanson 2013-12-22 08:31:20 +07:00 committed by Robby Workman
parent 40674552f8
commit 8787d9c31f
2 changed files with 7 additions and 10 deletions

View File

@ -2,7 +2,7 @@
#
# Slackware build script for physfs
#
# Copyright 2009-2011 Erik W. Hanson, Minneapolis, MN, USA
# Copyright 2009-2013 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=physfs
VERSION=2.0.2
BUILD=${BUILD:-2}
VERSION=2.0.3
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -69,9 +69,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# while we cut away -Werror to make gcc-4.6 happy, we turn off debug too
sed -i "s|-g -pipe -Werror|-pipe|" CMakeLists.txt
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \

View File

@ -1,8 +1,8 @@
PRGNAM="physfs"
VERSION="2.0.2"
VERSION="2.0.3"
HOMEPAGE="http://icculus.org/physfs/"
DOWNLOAD="http://icculus.org/physfs/downloads/physfs-2.0.2.tar.gz"
MD5SUM="4e8927c3d30279b03e2592106eb9184a"
DOWNLOAD="http://icculus.org/physfs/downloads/physfs-2.0.3.tar.bz2"
MD5SUM="c2c727a8a8deb623b521b52d0080f613"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""