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

v4hn me at v4hn.de
Sat Nov 3 23:37:05 CET 2012


commit 2ce95cded4f026479170ce3c1f87ee66f8e73ac1
Author: v4hn <me at v4hn.de>
Date: Sat, 03 Nov 2012 15:37:05 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/2ce95cded4f026479170ce3c1f87ee66f8e73ac1

Lineo: introduction to -other
---
  games/Lineo/BUILD   | +18/-0    
  games/Lineo/DEPENDS | +6/-0     
  games/Lineo/DETAILS | +19/-0    
  3 files changed, 43 insertions(+)

--- /dev/null
+++ b/games/Lineo/BUILD
@@ -0,0 +1,18 @@
+(
+  # install to correct folders
+  sedit 's:/usr/games/lineo/datas:usr/share/games/lineo/:' Makefile &&
+  sedit 's:/usr/bin:/usr/games:' Makefile &&
+
+  sedit 's:-g::g' Makefile &&
+  # use the system flags and patch DATA_PATH
+  sedit "s:\(CXXFLAGS =[^)]*))\):\1 ${CXXFLAGS} -DDATA_PATH=\\\\\"\$(DATA_PATH)\\\\\":" Makefile &&
+
+  sedit 's:=DATA_PATH:=(string)(DATA_PATH):' src/Lineo.cpp &&
+
+  make &&
+
+  prepare_install &&
+
+  make install
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/games/Lineo/DEPENDS
@@ -0,0 +1,6 @@
+depends SDL
+depends SDL_image
+depends SDL_mixer
+depends SDL_net
+
+depends libvorbis
--- /dev/null
+++ b/games/Lineo/DETAILS
@@ -0,0 +1,19 @@
+          MODULE=Lineo
+         VERSION=0.3
+          SOURCE=${MODULE}_${VERSION}_sources.tar.gz
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${MODULE}_${VERSION}_sources
+      SOURCE_URL=http://www.natsimhan.com/fichiers/lineo
+      SOURCE_VFY=sha1:c18041c43312d6e7b539123a1ac0cb4fb1846e23
+        WEB_SITE=http://www.natsimhan.com/Lineo/
+         ENTERED=20121103
+         UPDATED=20121103
+           SHORT="a 2 player board game"
+
+cat << EOF
+Lineo is a 2 players game. To win, a player has to line up
+4 pieces having at least one resemblance. The player who starts
+the game is chosen randomly. He begins to play by chosing a
+piece for the other player. The other player places the piece
+on a free place on the board, and chooses another piece
+for the first player to place.
+EOF




More information about the Lunar-commits mailing list