From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/frodo/frodo_4.1b.bb | 47 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 recipes/frodo/frodo_4.1b.bb (limited to 'recipes/frodo/frodo_4.1b.bb') diff --git a/recipes/frodo/frodo_4.1b.bb b/recipes/frodo/frodo_4.1b.bb new file mode 100644 index 0000000000..fa0de0bbc3 --- /dev/null +++ b/recipes/frodo/frodo_4.1b.bb @@ -0,0 +1,47 @@ +DESCRIPTION = "A C64 emulator based on SDL." +SECTION = "opie/applications" +DEPENDS = "libsdl-qpe" +LICENSE = "GPL" +PR = "r1" + +SRC_URI = "http://frodo.cebix.net/downloads/FrodoV4_1b.Src.tar.gz \ + file://frodo-qte.diff;patch=1 \ + file://frodo-joystick-4state.diff;patch=1 \ + file://frodorc \ + file://Frodo.png \ + file://frodo.desktop" +S = "${WORKDIR}/Frodo-${PV}/Src" + +inherit autotools + +EXTRA_OECONF = "--disable-sdltest --enable-qtopia" + +do_configure() { + gnu-configize + oe_runconf +} + +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 < ${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 -- cgit v1.2.3