summaryrefslogtreecommitdiff
path: root/packages/gnuz/gnuz-levelmaker-native_0.1.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gnuz/gnuz-levelmaker-native_0.1.1.bb')
-rw-r--r--packages/gnuz/gnuz-levelmaker-native_0.1.1.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/gnuz/gnuz-levelmaker-native_0.1.1.bb b/packages/gnuz/gnuz-levelmaker-native_0.1.1.bb
index e69de29bb2..ec546bc98f 100644
--- a/packages/gnuz/gnuz-levelmaker-native_0.1.1.bb
+++ b/packages/gnuz/gnuz-levelmaker-native_0.1.1.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "Level maker for gnuZ"
+SECTION = "opie/games"
+PRIORITY = "optional"
+MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>"
+LICENSE = "GPL"
+AUTHOR = "Lukas Fraser"
+HOMEPAGE = "http://gnuz.4cows.net/eraser/gnuz/"
+DEPENDS = "qt-x11-free-native"
+
+SRC_URI = "http://gnuz.4cows.net/eraser/gnuz/gnuz-levelmaker_${PV}.tar.gz"
+
+S = "${WORKDIR}/gnuz_levelmaker"
+
+EXTRA_QMAKEVARS_POST += "LIBS+=-ldl CONFIG+=thread"
+
+inherit qmake qt3x11 native
+
+do_configure_prepend() {
+
+ ${STAGING_BINDIR}/qmake -project
+}
+
+do_compile() {
+
+export OE_QMAKE_LINK="${CXX}"
+ oe_runmake
+}
+
+do_stage() {
+ install -m 0755 gnuz_levelmaker ${STAGING_BINDIR}/
+}