games/freeciv: Updated for version 2.2.2.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Niels Horn 2010-08-28 08:18:55 -04:00 committed by Erik Hanson
parent 2164cbb854
commit 013fae3ee1
4 changed files with 29 additions and 27 deletions

View file

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

View file

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

View file

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

View file

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