diff options
Diffstat (limited to 'packages/prboom/prboom_2.3.1.bb')
-rw-r--r-- | packages/prboom/prboom_2.3.1.bb | 33 |
1 files changed, 33 insertions, 0 deletions
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" |