diff options
Diffstat (limited to 'games/fifengine')
-rw-r--r-- | games/fifengine/fifengine.SlackBuild | 18 | ||||
-rw-r--r-- | games/fifengine/fifengine.info | 8 |
2 files changed, 17 insertions, 9 deletions
diff --git a/games/fifengine/fifengine.SlackBuild b/games/fifengine/fifengine.SlackBuild index 11462a0106..7791af717f 100644 --- a/games/fifengine/fifengine.SlackBuild +++ b/games/fifengine/fifengine.SlackBuild @@ -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 diff --git a/games/fifengine/fifengine.info b/games/fifengine/fifengine.info index 6e13359109..b7d7d57159 100644 --- a/games/fifengine/fifengine.info +++ b/games/fifengine/fifengine.info @@ -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" |