diff options
Diffstat (limited to 'frodo/frodo_4.2.oe')
-rw-r--r-- | frodo/frodo_4.2.oe | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/frodo/frodo_4.2.oe b/frodo/frodo_4.2.oe new file mode 100644 index 0000000000..ca82fd1206 --- /dev/null +++ b/frodo/frodo_4.2.oe @@ -0,0 +1,42 @@ +DESCRIPTION = "C64 Emulator based on SDL" +SECTION = "games" +PRIORITY = "optional" +DEPENDS = "libsdl-qpe" +CVSDATE = "20040801" + +SRC_URI = "cvs://anoncvs:anoncvs@down.physik.uni-mainz.de/cvs;module=Frodo4 \ + file://${FILESDIR}/m4.patch;patch=1 \ + file://${FILESDIR}/configure.patch;patch=1 \ + file://frodorc \ + file://Frodo.png \ + file://frodo.desktop" +S = "${WORKDIR}/Frodo4/Src" + +inherit autotools + +EXTRA_OECONF = "--disable-sdltest --enable-qtopia" + +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 |