mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
games/fifengine: Updated for version 0.4.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
10d03c7b20
commit
63bc8a45fc
2 changed files with 17 additions and 9 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for fifengine
|
||||
|
||||
# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
|
||||
# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=fifengine
|
||||
VERSION=${VERSION:-0.3.5}
|
||||
VERSION=${VERSION:-0.4.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -69,15 +69,23 @@ 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 {} \;
|
||||
|
||||
scons
|
||||
python setup.py install --root=$PKG
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
cd ..
|
||||
|
||||
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
|
||||
|
||||
rm -rf $PKG/usr/lib/site-packages/
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS CHANGES COPYING README SConstruct $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS CHANGELOG.md LICENSE.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="fifengine"
|
||||
VERSION="0.3.5"
|
||||
VERSION="0.4.1"
|
||||
HOMEPAGE="http://www.fifengine.net/"
|
||||
DOWNLOAD="https://github.com/fifengine/fifengine/archive/0.3.5.tar.gz"
|
||||
MD5SUM="5812a30912022ff9737cb3b72b9d42e0"
|
||||
DOWNLOAD="https://github.com/fifengine/fifengine/archive/0.4.1.tar.gz"
|
||||
MD5SUM="6ce5533102c4993b44c3ba8347f4ca93"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="guichan OpenAL fifechan"
|
||||
REQUIRES="OpenAL tinyxml fifechan"
|
||||
MAINTAINER="Dimitris Zlatanidis"
|
||||
EMAIL="d.zlatanidis@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue