[Lunar-commits] <moonbase> glest: introduction into the moonbase

Duncan Gibson engelsman at lunar-linux.org
Sun Oct 19 22:22:16 CEST 2008


commit 56d7e9fd3b5109d8d3543de18515b034acfe9dcc
Author: V4hn <me at v4hn.de>
Date:   Sun Oct 19 22:22:16 2008 +0200

    glest: introduction into the moonbase
---
 zbeta/glest/BUILD     |   21 +++++++++++++++++++++
 zbeta/glest/DEPENDS   |    5 +++++
 zbeta/glest/DETAILS   |   22 ++++++++++++++++++++++
 zbeta/glest/PRE_BUILD |    6 ++++++
 4 files changed, 54 insertions(+), 0 deletions(-)

diff --git a/zbeta/glest/BUILD b/zbeta/glest/BUILD
new file mode 100644
index 0000000..1a66c11
--- /dev/null
+++ b/zbeta/glest/BUILD
@@ -0,0 +1,21 @@
+(
+  sedit 's:"glest.log":"/tmp/glest.log":' glest_game/main/program.cpp &&
+
+  #we don't want the map editor to build - it would fail
+  sedit 's:if $(WX_AVAILABLE) = "yes" {:if 1 = 0 {:' Jamfile  &&
+
+  default_game_config &&
+
+  jam                    &&
+  
+  prepare_install            &&
+  
+  install -d /usr/share/games/glest &&
+  cp -rf glest glest.ini data/glest_game/* /usr/share/games/glest/ &&
+
+  echo \#\!/bin/sh >/tmp/glest.tmp &&
+  echo cd /usr/share/games/glest\; ./glest \$*\; exit \$? >/tmp/glest.tmp &&
+  mv /tmp/glest.tmp /usr/games/glest &&
+  chmod 0755 /usr/games/glest 
+
+) > $C_FIFO 2>&1
diff --git a/zbeta/glest/DEPENDS b/zbeta/glest/DEPENDS
new file mode 100644
index 0000000..6c1786f
--- /dev/null
+++ b/zbeta/glest/DEPENDS
@@ -0,0 +1,5 @@
+depends %GLX &&
+depends SDL &&
+depends openal &&
+depends jam &&
+depends xerces-c++
diff --git a/zbeta/glest/DETAILS b/zbeta/glest/DETAILS
new file mode 100644
index 0000000..73ca941
--- /dev/null
+++ b/zbeta/glest/DETAILS
@@ -0,0 +1,22 @@
+          MODULE=glest
+         VERSION=3.1.2
+          SOURCE=${MODULE}-source-${VERSION}.tar.bz2
+	 SOURCE1=${MODULE}_data_${VERSION}.zip
+      SOURCE_URL=${SFORGE_URL}/glest/
+     SOURCE1_URL=${SFORGE_URL}/glest/
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${MODULE}-source-${VERSION}/
+     SOURCE_VFY=62be30fb94044b55efcdd1ec2bd7d0149c594645
+    SOURCE2_VFY=ef81767d27baa5639de64efc5569c95762af866a
+        WEB_SITE=http://glest.org
+         ENTERED=20080720
+         UPDATED=20080720
+           SHORT="3D real-time stratagy game."
+
+cat << EOF
+Glest is a free 3D real-time strategy game, 
+where you control the armies of two completely different factions: 
+Tech, which is mainly composed of warriors and mechanical devices, 
+and Magic, that prefers mages and summoned creatures in the battlefield.
+
+The Map Editor will _NOT_ be build.
+EOF
diff --git a/zbeta/glest/PRE_BUILD b/zbeta/glest/PRE_BUILD
new file mode 100644
index 0000000..483a56b
--- /dev/null
+++ b/zbeta/glest/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build    &&
+cd $SOURCE_DIRECTORY &&
+mkdir data           &&
+cd data              &&
+unpack $SOURCE1      &&
+cd ..


More information about the Lunar-commits mailing list