diff options
author | Holger Freyther <zecke@selfish.org> | 2004-12-18 12:35:15 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2004-12-18 12:35:15 +0000 |
commit | a244dea58196e36811005139318c8a8315ec2fde (patch) | |
tree | 8f46a4e46b12477cdaecf77a3c08b8d52345193c /packages | |
parent | 42bd2609fb89ca183a16bfd0f1227f174aab69a3 (diff) |
SDL QPE games
-use the sdl-config from the libsdl-qpe built and not the one found in /usr/bin.
-Unbreak compilation
BKrev: 41c42403APhoKZSQCpQaavV_r_fYkQ
Diffstat (limited to 'packages')
-rw-r--r-- | packages/frodo/frodo_4.2.bb | 45 | ||||
-rw-r--r-- | packages/prboom/prboom_2.3.1.bb | 33 |
2 files changed, 78 insertions, 0 deletions
diff --git a/packages/frodo/frodo_4.2.bb b/packages/frodo/frodo_4.2.bb index e69de29bb2..5535a4d3d6 100644 --- a/packages/frodo/frodo_4.2.bb +++ b/packages/frodo/frodo_4.2.bb @@ -0,0 +1,45 @@ +DESCRIPTION = "C64 Emulator based on SDL" +SECTION = "opie/applications" +PRIORITY = "optional" +DEPENDS = "libsdl-qpe" +LICENSE = "GPL" +CVSDATE = "20040801" +PR = "r1" + +SRC_URI = "cvs://anoncvs:anoncvs@down.physik.uni-mainz.de/cvs;module=Frodo4 \ + file://m4.patch;patch=1 \ + file://configure.patch;patch=1 \ + file://frodorc \ + file://Frodo.png \ + file://frodo.desktop" + +S = "${WORKDIR}/Frodo4/Src" + +inherit autotools + +EXTRA_OECONF = "--disable-sdltest --enable-qtopia --with-sdl-exec-prefix=${STAGING_DIR}/${BUILD_SYS}" + +do_install() { + install -d ${D}/${palmtopdir}/bin \ + ${D}/${palmtopdir}/apps/Games \ + ${D}/${palmtopdir}/pics + install -m 0644 ${WORKDIR}/Frodo.png ${D}/${palmtopdir}/pics/Frodo.png + install -m 0644 ${WORKDIR}/frodo.desktop ${D}/${palmtopdir}/apps/Games/frodo.desktop + # start script and executable + install -d ${D}/${palmtopdir}/bin/${PN} + install -m 0755 Frodo ${D}/${palmtopdir}/bin/${PN}/Frodo + cat <<STARTER_EOF > ${D}/${palmtopdir}/bin/${PN}/frodostart +#!/bin/sh +cd ${palmtopdir}/bin/${PN} +./Frodo +STARTER_EOF + chmod 0755 ${D}/${palmtopdir}/bin/${PN}/frodostart + ln -sf ${PN}/frodostart ${D}/${palmtopdir}/bin/Frodo + # conffiles + install -d ${D}/${sysconfdir} + install -m 644 ${WORKDIR}/frodorc ${D}/${sysconfdir}/frodorc +} + +FILES_${PN} = "${palmtopdir} ${sysconfdir}" + +#FIXME: Add postinst which copies /etc/frodorc into $HOME/.frodorc diff --git a/packages/prboom/prboom_2.3.1.bb b/packages/prboom/prboom_2.3.1.bb index e69de29bb2..31330ce641 100644 --- a/packages/prboom/prboom_2.3.1.bb +++ b/packages/prboom/prboom_2.3.1.bb @@ -0,0 +1,33 @@ +DESCRIPTION = "A Doom Clone based on SDL" +SECTION = "opie/games" +PRIORITY = "optional" +DEPENDS = "libsdl-qpe libsdl-mixer libsdl-net" +LICENSE = "GPL" + +SRC_URI = "${SOURCEFORGE_MIRROR}/prboom/prboom-${PV}.tar.gz \ + file://m4.patch;patch=1 \ + file://prboom.png \ + file://prboom.desktop" + +inherit autotools + +EXTRA_OECONF = " --without-x --disable-sdltest --with-sdl-exec-prefix=${STAGING_DIR}/${BUILD_SYS} " + +do_configure() { + PATH=${STAGING_BINDIR}:$PATH + gnu-configize + oe_runconf +} + +do_install() { + install -d ${D}/${palmtopdir}/bin \ + ${D}/${palmtopdir}/apps/Games \ + ${D}/${palmtopdir}/pics \ + ${D}/usr/share/games/doom + install -m 0755 src/prboom ${D}/${palmtopdir}/bin/prboom + install -m 0644 data/prboom.wad ${D}/usr/share/games/doom/ + install -m 0644 ${WORKDIR}/prboom.png ${D}/${palmtopdir}/pics/prboom.png + install -m 0644 ${WORKDIR}/prboom.desktop ${D}/${palmtopdir}/apps/Games/prboom.desktop +} + +FILES_${PN} = "${palmtopdir} /usr/share/games/doom/prboom.wad" |