[Lunar-commits] <moonbase-other> oolite: introduction to moonbase

v4hn me at v4hn.de
Sun Jul 15 19:15:16 CEST 2012


commit 5b11203394fe3954b0be09953ed7839466d9bb7b
Author: v4hn <me at v4hn.de>
Date: Sun, 15 Jul 2012 10:15:16 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/5b11203394fe3954b0be09953ed7839466d9bb7b

oolite: introduction to moonbase
---
  games/oolite/BUILD                                           +25/-0    
  games/oolite/DEPENDS                                         +5/-0     
  games/oolite/DETAILS                                         +24/-0    
  games/oolite/PRE_BUILD                                       +9/-0     
  4 files changed, 63 insertions (+), 0 deletions (-)

--- /dev/null
+++ b/games/oolite/BUILD
@@ -0,0 +1,25 @@
+(
+
+  if in_depends $MODULE espeak; then
+     sedit "s:ESPEAK *=.*$:ESPEAK = yes:" config.make
+  else
+     sedit "s:ESPEAK *=.*$:ESPEAK = no:" config.make
+  fi &&
+
+  . /usr/share/GNUstep/Makefiles/GNUstep.sh &&
+
+  make -f Makefile release &&
+
+  prepare_install &&
+
+  mkdir -p /usr/lib/GNUstep/Applications/ &&
+  cp -rv oolite.app /usr/lib/GNUstep/Applications/oolite &&
+
+  install -Dm0755 debian/extra/games/oolite /usr/games/oolite &&
+  install -Dm0644 installers/FreeDesktop/oolite.desktop /usr/share/applications/oolite.desktop &&
+  install -Dm0644 installers/FreeDesktop/oolite-icon.png /usr/share/pixmaps/oolite-icon.png &&
+  install -Dm0644 debian/oolite.6 /usr/share/man/man6/oolite.6 &&
+
+  gather_docs Doc/AdviceForNewCommanders.pdf Doc/OoliteReadMe.pdf Doc/OoliteRS.pdf Doc/CHANGELOG.TXT
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/games/oolite/DEPENDS
@@ -0,0 +1,5 @@
+depends gnustep-base
+
+depends SDL_mixer
+
+optional_depends espeak "-foo" "-bar" "for spoken notifications"
--- /dev/null
+++ b/games/oolite/DETAILS
@@ -0,0 +1,24 @@
+          MODULE=oolite
+         VERSION=1.76.1
+          SOURCE=$MODULE-source-$VERSION.tar.bz2
+	 SOURCE2=firefox-4.0.source.js-only.tbz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-source-$VERSION
+      SOURCE_URL=$SFORGE_URL/oolite.mirror/
+     SOURCE2_URL=http://jens.ayton.se/oolite/deps/
+      SOURCE_VFY=sha1:e50d3413454f2bc0df6ff22e75b880327bc632e1
+     SOURCE2_VFY=sha1:351d141c3a3893abac1933148551e00384008e5e
+        WEB_SITE=http://http://www.oolite.org
+         ENTERED=20120714
+         UPDATED=20120714
+           SHORT="space simulator game"
+           PSAFE=no
+
+cat << EOF
+Oolite is a space simulator game.
+
+What's the point of the game?
+
+To fly from planet to planet, buying and selling goods,
+shooting pirates or committing acts of piracy. There's no
+goal other than perhaps to achieve the rank of ELITE.
+EOF
--- /dev/null
+++ b/games/oolite/PRE_BUILD
@@ -0,0 +1,9 @@
+default_pre_build &&
+
+cd $SOURCE_DIRECTORY/deps/Cross-platform-deps/ &&
+
+tar xf $SOURCE_CACHE/$SOURCE2 &&
+mv mozilla-2.0 mozilla &&
+echo 'http://jens.ayton.se/oolite/deps/firefox-4.0.source.js-only.tbz' > mozilla/current.url &&
+
+cd $SOURCE_DIRECTORY




More information about the Lunar-commits mailing list