[Lunar-commits] <moonbase-other> freeciv: readd it to the moonbase.

Florin Braescu florin at lunar-linux.org
Sun Jul 29 15:11:11 CEST 2012


commit 2034dd58db81a2c9ab08a77b2521f46e050ed886
Author: Florin Braescu <florin at lunar-linux.org>
Date: Sun, 29 Jul 2012 06:11:11 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/2034dd58db81a2c9ab08a77b2521f46e050ed886

freeciv: readd it to the moonbase.
---
  freeciv/BUILD                                                +8/-0     
  freeciv/CONFIGURE                                            +26/-0    
  freeciv/DEPENDS                                              +7/-0     
  freeciv/DETAILS                                              +24/-0    
  4 files changed, 65 insertions (+), 0 deletions (-)

--- /dev/null
+++ b/freeciv/BUILD
@@ -0,0 +1,8 @@
+(
+
+  sedit "s:\$datadir/locale:/usr/share/locale:" configure                &&
+  sedit "s:\$(datadir)/icons:/usr/share/icons:"   data/icons/Makefile.in &&
+
+  default_game_build
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/freeciv/CONFIGURE
@@ -0,0 +1,26 @@
+mquery CLIENTS "Build clients?" y
+
+CLIST=""
+
+if [ "`get_module_config CLIENTS`" = "y" ]; then
+  mquery GTK "Build gtk+-2 client?" y
+  if [ "`get_module_config GTK`" = "y" ]; then
+    CLIST="${CLIST}gtk,"
+  fi
+
+  mquery SDL "Build SDL client?" y
+  if [ "`get_module_config SDL`" = "y" ]; then
+    CLIST="${CLIST}sdl,"
+  fi
+fi
+
+if [ $CLIST = "" ]; then
+  OPTS=$OPTS --disable-client
+else
+  OPTS="$OPTS --enable-client=$CLIST"
+fi
+
+mquery  SERV  "Build freeciv server (needed for solo games, too)?" \
+              y                                                    \
+              "--enable-server"                                    \
+              "--disable-server"
--- /dev/null
+++ b/freeciv/DEPENDS
@@ -0,0 +1,7 @@
+optional_depends "gtk+-2"    "" "" "for gtk+-2 client"
+optional_depends "SDL_image" "" "" "for SDL client"
+
+optional_depends "SDL_mixer"                          \
+                 "--enable-sdl-mixer"                 \
+                 ""                                   \
+                 "to use SDL mixer with SDL client"
--- /dev/null
+++ b/freeciv/DETAILS
@@ -0,0 +1,24 @@
+          MODULE=freeciv
+         VERSION=2.3.2
+          SOURCE=$MODULE-$VERSION.tar.bz2
+      SOURCE_URL=$SFORGE_URL/$MODULE
+      SOURCE_VFY=sha1:e6267b5e0483cf9c29d01793d2f9433e73d62191
+        WEB_SITE=http://freeciv.wikia.com/wiki/Main_Page
+         ENTERED=20010922
+         UPDATED=20120424
+           SHORT="Reimplementation of Civilization"
+
+cat << EOF
+Freeciv is a multiuser reimplementation for Unix/X of the famous
+Microprose game of Civilization. By default, the game is an improved
+Civ II, but this can be customized; modpacks for near-100%
+compatibility with Civ I and Civ II are included. Multiuser gameplay is
+real-time: in each turn, all human players move concurrently. The game
+is designed to remain fairly playable even on poor network connections.
+Freeciv can also be played on standalone machines, and its AI players
+are a good challenge for beginners. The source code comes with the
+server, two X clients, and non-X clients for MS Windows and Amiga.
+Freeciv is released under the GNU General Public License. It is
+maintained by an international team of coders and enthusiasts, and is
+easily one of the most fun and addictive network games out there.
+EOF




More information about the Lunar-commits mailing list