diff --git a/package/magiccube4d/Config.in b/package/magiccube4d/Config.in new file mode 100644 index 0000000000..7822154309 --- /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 0000000000..afe543ba30 --- /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 0000000000..8bbc483ab9 --- /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 0000000000..a5733a006c --- /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)) +