From 7ad61436478f0a6c7b1114df1ed92fb972f5f7fa Mon Sep 17 00:00:00 2001 From: "Ryan P.C. McQuen" Date: Sun, 3 Aug 2014 12:05:16 +0700 Subject: games/freeciv: Updated for version 2.4.2 + new maintainer. Signed-off-by: Willy Sudiarto Raharjo --- games/freeciv/freeciv.SlackBuild | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'games/freeciv/freeciv.SlackBuild') diff --git a/games/freeciv/freeciv.SlackBuild b/games/freeciv/freeciv.SlackBuild index 23be2f024f256..93d4f421fe449 100644 --- a/games/freeciv/freeciv.SlackBuild +++ b/games/freeciv/freeciv.SlackBuild @@ -1,6 +1,8 @@ #!/bin/sh # Slackware build script for freeciv +# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com + # Original version written by Iskar Enev # Copyright 2010-2013 Niels Horn, Rio de Janeiro, RJ, Brazil @@ -23,10 +25,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Revision date: 2013/03/24 - PRGNAM=freeciv -VERSION=${VERSION:-2.3.4} +VERSION=${VERSION:-2.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -67,10 +67,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -82,12 +82,14 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --without-ggz-client \ --enable-client=gtk \ + --enable-static=no \ + --enable-shared=yes \ --build=$ARCH-slackware-linux make V=1 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 find $PKG/usr/man -type f -exec gzip -9 {} \; -- cgit v1.2.3