mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
games/warzone2100: Updated for version 2.3.5.
This commit is contained in:
parent
fcc89666fc
commit
2644829c79
4 changed files with 39 additions and 10 deletions
|
@ -6,4 +6,6 @@ Warzone 2100 offers campaign, tutorial, multi-player and single-player
|
|||
skirmish game modes, unit designer, unit experience system, and everything
|
||||
you would expect from a modern RTS game.
|
||||
|
||||
This requires physfs, quesoglc, and OpenAL.
|
||||
This requires physfs, quesoglc, OpenAL and GLee (optional).
|
||||
|
||||
If you wish to include the animated movies, read the README.movies file.
|
||||
|
|
14
games/warzone2100/README.movies
Normal file
14
games/warzone2100/README.movies
Normal file
|
@ -0,0 +1,14 @@
|
|||
Due to the extensive size of the movie files, the movies are not included
|
||||
with the source code. If you decide to include the movies you will have to
|
||||
download one of the following files into ~/.warzone-2.3/ for each user that
|
||||
plays the game, the files will not be needed until after the app is compiled
|
||||
and installed.
|
||||
|
||||
Quality: Standard
|
||||
Size: 545MB
|
||||
Download: http://downloads.sourceforge.net/warzone2100/warzone2100/Videos/2.2/standard-quality-en/sequences.wz/download
|
||||
|
||||
Quality: Low
|
||||
Size: 162MB
|
||||
Download: http://downloads.sourceforge.net/warzone2100/warzone2100/Videos/2.2/low-quality-en/sequences.wz
|
||||
|
|
@ -23,16 +23,14 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=warzone2100
|
||||
VERSION=${VERSION:-2.3.4}
|
||||
VERSION=${VERSION:-2.3.5}
|
||||
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
|
||||
|
@ -64,22 +62,37 @@ cd $TMP
|
|||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -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 {} \;
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--enable-data=yes \
|
||||
--with-distributor=Slackware \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
|
||||
# No man pages
|
||||
|
||||
# No info files
|
||||
|
||||
find $PKG -name perllocal.pod \
|
||||
-o -name ".packlist" \
|
||||
-o -name "*.bs" \
|
||||
| xargs rm -f
|
||||
|
||||
|
||||
# Let's not pollute the themed icon directory
|
||||
mv $PKG/usr/share/icons $PKG/usr/share/pixmaps
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="warzone2100"
|
||||
VERSION="2.3.4"
|
||||
VERSION="2.3.5"
|
||||
HOMEPAGE="http://wz2100.net"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/warzone2100/warzone2100-2.3.4.tar.gz"
|
||||
MD5SUM="7c8182a9313a97e260eac85c20ab6de0"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/warzone2100/warzone2100-2.3.5.tar.gz"
|
||||
MD5SUM="1d9d724555b62573a9ebbcdf56a4d160"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Matthew Fillpot"
|
||||
EMAIL="mfilpot@gmail.com"
|
||||
APPROVED="dsomero"
|
||||
APPROVED="Erik Hanson"
|
||||
|
|
Loading…
Reference in a new issue