summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJohn Voltz <john.voltz@gmail.com>2008-03-06 18:17:43 +0000
committerJohn Voltz <john.voltz@gmail.com>2008-03-06 18:17:43 +0000
commit86d9d181eb09e6726ab2a7ae3078e68b8e0d104f (patch)
tree04e66a8a23939c5a47411c828003fd17315b2e2d /package
parent271f31243c45ccc0f5e89b4cae16726c423cdb41 (diff)
downloadbuildroot-novena-86d9d181eb09e6726ab2a7ae3078e68b8e0d104f.tar.gz
buildroot-novena-86d9d181eb09e6726ab2a7ae3078e68b8e0d104f.zip
added magiccube4d game
Diffstat (limited to 'package')
-rw-r--r--package/magiccube4d/Config.in7
-rw-r--r--package/magiccube4d/magiccube4d-2_2-add-installer.patch13
-rw-r--r--package/magiccube4d/magiccube4d-2_2-no-warn-err.patch11
-rw-r--r--package/magiccube4d/magiccube4d.mk17
4 files changed, 48 insertions, 0 deletions
diff --git a/package/magiccube4d/Config.in b/package/magiccube4d/Config.in
new file mode 100644
index 000000000..782215430
--- /dev/null
+++ b/package/magiccube4d/Config.in
@@ -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
index 000000000..afe543ba3
--- /dev/null
+++ b/package/magiccube4d/magiccube4d-2_2-add-installer.patch
@@ -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
index 000000000..8bbc483ab
--- /dev/null
+++ b/package/magiccube4d/magiccube4d-2_2-no-warn-err.patch
@@ -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
index 000000000..a5733a006
--- /dev/null
+++ b/package/magiccube4d/magiccube4d.mk
@@ -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))
+