added magiccube4d game
authorJohn Voltz <john.voltz@gmail.com>
Thu, 6 Mar 2008 18:17:43 +0000 (18:17 -0000)
committerJohn Voltz <john.voltz@gmail.com>
Thu, 6 Mar 2008 18:17:43 +0000 (18:17 -0000)
package/magiccube4d/Config.in [new file with mode: 0644]
package/magiccube4d/magiccube4d-2_2-add-installer.patch [new file with mode: 0644]
package/magiccube4d/magiccube4d-2_2-no-warn-err.patch [new file with mode: 0644]
package/magiccube4d/magiccube4d.mk [new file with mode: 0644]

diff --git a/package/magiccube4d/Config.in b/package/magiccube4d/Config.in
new file mode 100644 (file)
index 0000000..7822154
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_MAGICCUBE4D
+       bool "magiccube4d"
+       default n
+       help
+         Another rubiks cube-like game in 4D
+
+         http://avr32linux.org/twiki/bin/viewfile/Main
diff --git a/package/magiccube4d/magiccube4d-2_2-add-installer.patch b/package/magiccube4d/magiccube4d-2_2-add-installer.patch
new file mode 100644 (file)
index 0000000..afe543b
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/Makefile.in      2000-04-01 22:45:36.000000000 -0500
++++ b/Makefile.in      2008-02-29 13:18:24.000000000 -0500
+@@ -126,6 +126,10 @@ tgz: $(SRCTGZ)
+ bindist: $(BINTGZ)
++install :
++      mkdir -p $(GAMESDIR)
++      install -c magiccube4d $(GAMESDIR)
++
+ rpm: $(SRCTGZ)
+       rpm -ta $(SRCTGZ)
diff --git a/package/magiccube4d/magiccube4d-2_2-no-warn-err.patch b/package/magiccube4d/magiccube4d-2_2-no-warn-err.patch
new file mode 100644 (file)
index 0000000..8bbc483
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/configure        2000-02-10 23:19:34.000000000 -0500
++++ b/configure        2008-02-29 13:12:33.000000000 -0500
+@@ -686,7 +686,7 @@ fi
+ if test "$GXX" = "yes" ; then
+-   WFLAGS="$WFLAGS -pedantic -Wall -W -Wunused -Werror"
++   WFLAGS="$WFLAGS -pedantic -Wall -W -Wunused"
+ fi
+ echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
+ echo "configure:693: checking how to run the C preprocessor" >&5
diff --git a/package/magiccube4d/magiccube4d.mk b/package/magiccube4d/magiccube4d.mk
new file mode 100644 (file)
index 0000000..a5733a0
--- /dev/null
@@ -0,0 +1,17 @@
+#############################################################
+#
+# magiccube4d
+#
+#############################################################
+MAGICCUBE4D_VERSION = 2_2
+MAGICCUBE4D_SOURCE = magiccube4d-src-$(MAGICCUBE4D_VERSION).tar.gz
+MAGICCUBE4D_SITE = http://avr32linux.org/twiki/pub/Main/MagicCube4D
+MAGICCUBE4D_AUTORECONF = NO
+MAGICCUBE4D_INSTALL_STAGING = NO
+MAGICCUBE4D_INSTALL_TARGET = YES
+MAGICCUBE4D_INSTALL_TARGET_OPT = GAMESDIR=$(TARGET_DIR)/usr/games install
+
+MAGICCUBE4D_DEPENDENCIES = uclibc 
+
+$(eval $(call AUTOTARGETS,package,magiccube4d))
+