[Lunar-commits] <moonbase> boswars: real-time strategy game

Paul Bredbury brebs at lunar-linux.org
Fri Sep 18 01:24:07 CEST 2009


commit a1cc53861273dbcfbc6daca59a95697c3f24d012
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Fri Sep 18 06:24:07 2009 +0700

    boswars: real-time strategy game
    
    New module.
---
 zbeta/boswars/BUILD   |   30 ++++++++++++++++++++++++++++++
 zbeta/boswars/DEPENDS |    8 ++++++++
 zbeta/boswars/DETAILS |   38 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 76 insertions(+), 0 deletions(-)

diff --git a/zbeta/boswars/BUILD b/zbeta/boswars/BUILD
new file mode 100644
index 0000000..f1b6cc0
--- /dev/null
+++ b/zbeta/boswars/BUILD
@@ -0,0 +1,30 @@
+(
+
+  # Use game datadir
+  sedit "s:LIB_PATH  \".\":LIB_PATH  \"/usr/share/games/$MODULE\":" engine/include/stratagus.h  &&
+
+  OPTS+=" prefix=/usr"  &&
+  scons $OPTS  &&
+
+  prepare_install  &&
+  mkdir -p /usr/games/ /usr/share/games/$MODULE/  &&
+  install -m755 $MODULE /usr/games/  &&
+  cp -ra campaigns doc graphics intro languages maps scripts sounds units /usr/share/games/$MODULE/  &&
+
+  # Desktop menu entry
+  cat > ${MODULE}.desktop << EOF  &&
+[Desktop Entry]
+Type=Application
+Name=Bos Wars
+Comment=$SHORT
+Exec=$MODULE
+Icon=$MODULE
+Categories=Game;StrategyGame;
+EOF
+
+  install -D -m644 ${MODULE}.desktop /usr/share/applications/${MODULE}.desktop  &&
+  install -D -m644 $SOURCE_CACHE/$SOURCE2 /usr/share/pixmaps/${MODULE}.png  &&
+
+  gather_docs *.txt
+
+) > $C_FIFO 2>&1
diff --git a/zbeta/boswars/DEPENDS b/zbeta/boswars/DEPENDS
new file mode 100644
index 0000000..6364522
--- /dev/null
+++ b/zbeta/boswars/DEPENDS
@@ -0,0 +1,8 @@
+depends libvorbis
+depends libogg
+depends libtheora
+depends libmikmod
+depends libpng
+depends SDL
+depends lua
+depends %GLX
diff --git a/zbeta/boswars/DETAILS b/zbeta/boswars/DETAILS
new file mode 100644
index 0000000..5f58a98
--- /dev/null
+++ b/zbeta/boswars/DETAILS
@@ -0,0 +1,38 @@
+          MODULE=boswars
+         VERSION=2.5
+          SOURCE=$MODULE-$VERSION-src.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION-src
+         SOURCE2=bos.png
+      SOURCE_URL=http://www.boswars.org/dist/releases
+  SOURCE2_URL[0]=http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/distfiles/
+  SOURCE2_URL[1]=http://mirror.its.uidaho.edu/pub/gentoo/distfiles/
+  SOURCE2_URL[2]=http://de-mirror.org/distro/gentoo/distfiles/
+  SOURCE2_URL[3]=http://mirror.ovh.net/gentoo-distfiles/distfiles/
+  SOURCE2_URL[4]=http://distfiles.gentoo.bg/distfiles/
+  SOURCE2_URL[5]=http://gentoo.in.th/distfiles/
+      SOURCE_VFY=sha1:7305eaea67a0df8dd689df821573dab17e8de01a
+     SOURCE2_VFY=sha1:e0088d4e3d9b7376563e4bb31dba30e1820dcf66
+        WEB_SITE=http://www.boswars.org/
+         ENTERED=20090917
+         UPDATED=20090917
+           SHORT="a futuristic real-time strategy game"
+
+cat << EOF
+Bos Wars is a futuristic real-time strategy game (RTS). In a RTS game,
+the player has to combat his enemies while developing his war economy.
+Everything runs in real-time, as opposed to turn-based games where the
+player always has to wait for his turn. The trick is to balance the
+effort put into building his economy and building an army to defend and
+attack the enemies.
+
+Bos Wars has a dynamic rate-based economy. Energy is produced by power
+plants, and magma gets pumped from hot spots. Buildings and mobile
+units are also built at a continuous rate. Control of larger parts of
+the map creates the potential to increase your economy throughput.
+Holding key points like roads and passages allow for different
+strategies.
+
+It is possible to play against human opponents over LAN, Internet, or
+against the computer. Bos Wars successfully runs under Linux, MS
+Windows, BSD, and Mac OS X.
+EOF


More information about the Lunar-commits mailing list