libraries/physfs: New maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Johannes Schoepfer 2017-04-16 23:01:35 +07:00 committed by Willy Sudiarto Raharjo
parent a3b0548ccf
commit 03d50eab09
2 changed files with 9 additions and 8 deletions

View File

@ -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

View File

@ -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"