Public feed #533461

Nanomad

public text v1 · immutable
Raw Edit
·published 2007-06-03 13:57 UTC
rendered paste body
Index: config/config.in
===================================================================
--- config/config.in	(revisione 1776)
+++ config/config.in	(copia locale)
@@ -1702,6 +1702,7 @@
 # bool 'mame'		CONFIG_USER_GAMES_XMAME
 bool 'rubik'		CONFIG_USER_GAMES_RUBIK
 bool 'sudoku'		CONFIG_USER_GAMES_SUDOKU
+bool 'tint'		CONFIG_USER_GAMES_TINT
 endmenu
 
 #############################################################################
Index: config/Configure.help
===================================================================
--- config/Configure.help	(revisione 1776)
+++ config/Configure.help	(copia locale)
@@ -1655,6 +1655,10 @@
 CONFIG_USER_GAMES_RUBIK
   Non-optimal rubik's cube solver.
 
+CONFIG_USER_GAMES_TINT
+  As the title suggests, this is a clone of the original tetris game
+  written by Alexey Pajitnov, Dmitry Pavlovsky, and Vadim Gerasimov.
+
 CONFIG_USER_PPPD_WITH_TACACS
   TACACS+ authentication plugin for pppd.
 
Index: user/games/Makefile
===================================================================
--- user/games/Makefile	(revisione 1776)
+++ user/games/Makefile	(copia locale)
@@ -14,7 +14,7 @@
 dir_$(CONFIG_USER_GAMES_RUBIK)          += rubik
 dir_$(CONFIG_USER_GAMES_SUDOKU)			+= sudoku
 #dir_$(CONFIG_USER_GAMES_XMAME)		    += xmame
-
+dir_$(CONFIG_USER_GAMES_TINT)		+= tint
 all:
 	for i in $(dir_y) dummy ; do \
 		[ $$i = dummy ] || make -C $$i || exit $? ; \
diff -urN user/games/tint/tint-0.03b/Makefile user/games/tint/src/Makefile
--- user/games/tint/tint-0.03b/Makefile	2005-07-17 13:30:54.000000000 +0200
+++ user/games/tint/src/Makefile	2007-06-03 15:36:56.000000000 +0200
@@ -28,12 +28,11 @@
 #  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 #  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-#CROSS = arm-linux-
-
-bindir = $(DESTDIR)/usr/games
-mandir = $(DESTDIR)/usr/share/man
-localstatedir = $(DESTDIR)/var/games
+CROSS =
 
+bindir = /usr/bin
+#mandir = $(DESTDIR)/usr/share/man
+localstatedir = /var/games
 ifeq ($(CC),)
 CC = gcc
 else
@@ -49,8 +48,8 @@
 LDFLAGS = -s
 LDLIBS = -lncurses
 
-STRIP = strip
-STRIPFLAGS = --strip-all --remove-section=.note --remove-section=.comment
+#STRIP = strip
+#STRIPFLAGS = --strip-all --remove-section=.note --remove-section=.comment
 
 INSTALL = install
 
@@ -75,13 +74,13 @@
 
 depend:
 	rm -f .depends
-	set -e; for F in $(SRC); do $(CC) -MM $(CFLAGS) $(CPPFLAGS) $$F >> .depends; done
+	set -e; for F in $(SRC); do $(CROSS)$(CC) -MM $(CFLAGS) $(CPPFLAGS) $$F >> .depends; done
 
 with-depends: $(PRG)
 
 $(PRG): $(OBJ)
 	$(CROSS)$(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)
-	$(CROSS)$(STRIP) $(STRIPFLAGS) $@
+#	$(CROSS)$(STRIP) $(STRIPFLAGS) $@
 
 ifneq ($(DESTDIR),)
 install: $(PRG)
--- /dev/null	2007-04-12 20:16:20.000000000 +0200
+++ user/games/tint/Makefile	2007-06-03 15:38:33.000000000 +0200
@@ -0,0 +1,12 @@
+# Makefile for tint - This is not tetris
+
+.PHONY: all clean romfs
+
+all:
+	$(MAKE) -C src	
+
+clean:
+	$(MAKE) -C src clean
+	
+romfs:
+	$(ROMFSINST) ./src/tint /usr/bin/tint