summaryrefslogtreecommitdiff
path: root/packages/snes9x/snes9x-sdl-qpe_1.39.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/snes9x/snes9x-sdl-qpe_1.39.bb')
-rw-r--r--packages/snes9x/snes9x-sdl-qpe_1.39.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/snes9x/snes9x-sdl-qpe_1.39.bb b/packages/snes9x/snes9x-sdl-qpe_1.39.bb
index e69de29bb2..416b35b2a5 100644
--- a/packages/snes9x/snes9x-sdl-qpe_1.39.bb
+++ b/packages/snes9x/snes9x-sdl-qpe_1.39.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "Super Nintendo Emulator based on SDL, QtE Palmtop Environments Edition"
+SECTION = "opie/games"
+PRIORITY = "optional"
+DEPENDS = "libsdl-qpe"
+PR = "r1"
+LICENSE = "snes9x"
+SRC_URI = "http://www.vanille.de/mirror/snes9x-sdl-${PV}.tar.bz2 \
+ file://compile.patch;patch=1"
+S = "${WORKDIR}/snes9x-sdl-${PV}"
+
+FILES_${PN} = "${palmtopdir}/bin/snes9x"
+
+do_compile() {
+ oe_runmake CC="${CC}" CCC="${CXX}" \
+ INCLUDES="-I${STAGING_INCDIR} `sdl-config --cflags`" \
+ LDLIBS="`sdl-config --libs` -Wl,-rpath-link,${STAGING_LIBDIR}"
+}
+
+do_install() {
+ install -d ${D}/${palmtopdir}/bin/
+ install -m 0755 snes9x ${D}/${palmtopdir}/bin/snes9x
+}
+