diff options
author | Niels Horn <niels.horn@gmail.com> | 2010-08-28 08:18:55 -0400 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-08-29 15:32:14 -0500 |
commit | 013fae3ee16963c3b12327de06c683d053424a7d (patch) | |
tree | a0e8c8fff9d5dfe819c96c5bed93cd1769c2a86e /games | |
parent | 2164cbb85477aab27ae2b3859fd84d3b0970f06d (diff) |
games/freeciv: Updated for version 2.2.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/freeciv/README | 9 | ||||
-rw-r--r-- | games/freeciv/freeciv.SlackBuild | 25 | ||||
-rw-r--r-- | games/freeciv/freeciv.info | 12 | ||||
-rw-r--r-- | games/freeciv/slack-desc | 10 |
4 files changed, 29 insertions, 27 deletions
diff --git a/games/freeciv/README b/games/freeciv/README index 72f6ec4e2657..cbc1a4b3f71a 100644 --- a/games/freeciv/README +++ b/games/freeciv/README @@ -3,9 +3,16 @@ becomes the leader of a civilization, fighting to obtain the ultimate goal: To become the greatest civilization. Players of the Civilization(R) series by Microprose(R) should feel at home, -scince one aim of Freeciv is to have optional modes (called rulesets) with +since one aim of Freeciv is to have optional modes (called rulesets) with compatible rules. Freeciv is maintained by an international team of coders and enthusiasts, and is easily one of the most fun and addictive network games out there! That also means it has very extensive multilanguage support, something rare in games. + +Note: Building this on Slackware64, it complains about a missing mikmod lib. +This is actually a little bug in Slackware64 that I reported to Patrick. +The library is not needed at all, but the libSDL_mixer.la file incorrectly +states it as a dependency. On 32-bits Slackware this does not happen. + +This requires libmikmod to compile on Slackware64. diff --git a/games/freeciv/freeciv.SlackBuild b/games/freeciv/freeciv.SlackBuild index 2f97665a2355..8c76f8b0dcdd 100644 --- a/games/freeciv/freeciv.SlackBuild +++ b/games/freeciv/freeciv.SlackBuild @@ -1,19 +1,19 @@ #!/bin/sh # Slackware build script for freeciv # Written by Iskar Enev <iskar.enev[@]gmail.com> -# Modified by SlackBuilds.org + +# Maintained as of version 2.2.2 by Niels Horn <niels.horn@gmail.com> +# Revision date: 2010/08/23 PRGNAM=freeciv -VERSION=2.2.0 +VERSION=2.2.2 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -23,8 +23,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCUMENTATION="ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README doc/" - if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" @@ -72,19 +70,16 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCUMENTATION $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README doc/ \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -( cd $PKG/usr/doc/$PRGNAM-$VERSION - rm -rf man - find . -name "Makefile*" -type f -exec rm {} \; -) +rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/man +find $PKG/usr/doc/$PRGNAM-$VERSION -name "Makefile*" -type f -exec rm {} \; mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/games/freeciv/freeciv.info b/games/freeciv/freeciv.info index 84e1450495a8..55ff75c7ef1b 100644 --- a/games/freeciv/freeciv.info +++ b/games/freeciv/freeciv.info @@ -1,10 +1,10 @@ PRGNAM="freeciv" -VERSION="2.2.0" +VERSION="2.2.2" HOMEPAGE="http://www.freeciv.org" -DOWNLOAD="http://downloads.sourceforge.net/freeciv/freeciv-2.2.0.tar.bz2" -MD5SUM="49c08904d2402fe46248641a8bbd9ef3" +DOWNLOAD="http://downloads.sourceforge.net/freeciv/freeciv-2.2.2.tar.bz2" +MD5SUM="fae46199dedaf0decc3b82dc06f95624" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -MAINTAINER="Iskar Enev" -EMAIL="<iskar.enev[@]gmail.com>" -APPROVED="Erik Hanson" +MAINTAINER="Niels Horn" +EMAIL="niels.horn@gmail.com" +APPROVED="dsomero" diff --git a/games/freeciv/slack-desc b/games/freeciv/slack-desc index 3f173c03e424..44c87d72f4bb 100644 --- a/games/freeciv/slack-desc +++ b/games/freeciv/slack-desc @@ -11,9 +11,9 @@ freeciv: freeciv: Freeciv is a free turn-based multiplayer strategy game, in which freeciv: each player becomes the leader of a civilization, fighting to freeciv: obtain the ultimate goal: To become the greatest civilization. -freeciv: -freeciv: -freeciv: -freeciv: -freeciv: +freeciv: +freeciv: +freeciv: Homepage: http://freeciv.wikia.com/ +freeciv: +freeciv: freeciv: |