summaryrefslogtreecommitdiff
path: root/recipes/frodo/frodo_4.2.bb
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/frodo/frodo_4.2.bb
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
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 <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/frodo/frodo_4.2.bb')
-rw-r--r--recipes/frodo/frodo_4.2.bb44
1 files changed, 44 insertions, 0 deletions
diff --git a/recipes/frodo/frodo_4.2.bb b/recipes/frodo/frodo_4.2.bb
new file mode 100644
index 0000000000..8f8812a6d4
--- /dev/null
+++ b/recipes/frodo/frodo_4.2.bb
@@ -0,0 +1,44 @@
+DESCRIPTION = "C64 Emulator based on SDL"
+SECTION = "opie/applications"
+PRIORITY = "optional"
+DEPENDS = "libsdl-qpe"
+LICENSE = "GPL"
+SRCDATE = "20040801"
+PR = "r2"
+
+SRC_URI = "cvs://anoncvs:anoncvs@cvs.cebix.net/home/cvs/cebix;module=Frodo4 \
+ 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"
+
+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