diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2005-09-16 14:54:52 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-16 14:54:52 +0000 |
commit | e6e5f0ec0947a67a87854e51deb68efadc7246e8 (patch) | |
tree | 2418902abdfe15a1e073a5df815e99f459573f89 /packages/gnuz/gnuz_0.3.bb | |
parent | 63b953a884d78372cfe22908014f12f0892db4e1 (diff) |
gnuz: switched from generating levels during build to pregenerated ones
- generator used Qt/X11 so it was impossible to build it without running X11
Diffstat (limited to 'packages/gnuz/gnuz_0.3.bb')
-rw-r--r-- | packages/gnuz/gnuz_0.3.bb | 51 |
1 files changed, 14 insertions, 37 deletions
diff --git a/packages/gnuz/gnuz_0.3.bb b/packages/gnuz/gnuz_0.3.bb index 23a1832596..3e986cf398 100644 --- a/packages/gnuz/gnuz_0.3.bb +++ b/packages/gnuz/gnuz_0.3.bb @@ -5,49 +5,26 @@ MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>" LICENSE = "GPL" AUTHOR = "Lukas Fraser" HOMEPAGE = "http://gnuz.4cows.net/eraser/gnuz/" -DEPENDS = "gnuz-levelmaker-native gnuz-package-native" +PR = "r1" + +APPTYPE = "binary" +APPNAME = "gnuz" +APPDESKTOP = "${S}/data/" SRC_URI = "http://gnuz.4cows.net/eraser/gnuz/gnuz_0.3.tar.gz \ - http://gnuz.4cows.net/eraser/gnuz/gnuz_0.3_levels.tar.gz \ - file://intro_level.patch;patch=1;pnum=0" + http://www.hrw.one.pl/_pliki/oe/files/gnuz-levels-0.3.tar.bz2" S = "${WORKDIR}/gnuz" -export OE_QMAKE_LINK="${CXX}" -EXTRA_QMAKEVARS_POST += "LIBS+=-lqpe" - -inherit palmtop - -do_compile_append() { - - cd ${WORKDIR} - - for level in *.conf - do - if [ $level != 'intro.conf' ] ;then - ${STAGING_BINDIR}/gnuz_levelmaker `basename $level .conf`.lvl $level - fi - done - ${STAGING_BINDIR}/gnuz_levelmaker intro intro.conf - cd ${S}/data/ - ${STAGING_BINDIR}/gnuz_package guiimages.dat gui - ${STAGING_BINDIR}/gnuz_package gnuimages.dat gnu - - -} - -do_install() { +inherit opie - install -d ${D}${palmtopdir}/apps/Games \ - ${D}${palmtopdir}/pics \ - ${D}${palmtopdir}/bin \ - ${D}${palmtopdir}/share/gnuz/levels +do_install_append() { - install -m 0755 gnuz ${D}${palmtopdir}/bin/ - install -m 0644 data/gnuz.desktop ${D}${palmtopdir}/apps/Games/ - install -m 0644 data/gnuz.png ${D}${palmtopdir}/pics/ - install -m 0644 ${WORKDIR}/*.lvl ${D}${palmtopdir}/share/gnuz/levels/ - install -m 0644 ${WORKDIR}/intro ${D}${palmtopdir}/share/gnuz/levels/ - install -m 0644 ${S}/data/*images.dat ${D}${palmtopdir}/share/gnuz/ + install -d ${D}${palmtopdir}/apps/Games \ + ${D}${palmtopdir}/pics \ + ${D}${palmtopdir}/share/gnuz/levels + install -m 0644 data/gnuz.png ${D}${palmtopdir}/pics/ + install -m 0644 ${WORKDIR}/gnuz-levels/share/gnuz/levels/* ${D}${palmtopdir}/share/gnuz/levels/ + install -m 0644 ${WORKDIR}/gnuz-levels/share/gnuz/*images.dat ${D}${palmtopdir}/share/gnuz/ } |