summaryrefslogtreecommitdiff
path: root/frodo/frodo_4.1b.oe
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2004-10-12 14:04:40 +0000
committerMatthias Hentges <oe@hentges.net>2004-10-12 14:04:40 +0000
commitad67cc461bf2d612f427df24a9b0078fd23293ca (patch)
tree212572ac516b7dfc8e8b08c9c16e72a4492851b3 /frodo/frodo_4.1b.oe
parentd1c3b5ac5b67787dd8591d75c37b450367900831 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into handhelds.org:/home/mhentges/OpenEmbedded/packages 2004/10/12 16:03:13+02:00 handhelds.org!CoreDump More section fixes BKrev: 416be478U3wZ_yiCDqd0QreoBYPNrg
Diffstat (limited to 'frodo/frodo_4.1b.oe')
-rw-r--r--frodo/frodo_4.1b.oe45
1 files changed, 45 insertions, 0 deletions
diff --git a/frodo/frodo_4.1b.oe b/frodo/frodo_4.1b.oe
index e69de29bb2..59016835e0 100644
--- a/frodo/frodo_4.1b.oe
+++ b/frodo/frodo_4.1b.oe
@@ -0,0 +1,45 @@
+DESCRIPTION = "A C64 emulator based on SDL."
+SECTION = "opie/utils"
+DEPENDS = "libsdl-qpe"
+
+SRC_URI = "http://wwwthep.physik.uni-mainz.de/~cbauer/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 <<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