Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / snes9x / snes9x-sdl-qpe_1.39.oe
1 DESCRIPTION = "Super Nintendo Emulator based on SDL, QtE Palmtop Environments Edition"
2 SECTION = "opie/games"
3 PRIORITY = "optional"
4 DEPENDS = "libsdl-qpe"
5 PR = "r1"
6
7 SRC_URI = "http://www.vanille.de/mirror/snes9x-sdl-${PV}.tar.bz2 \
8            file://compile.patch;patch=1"
9 S = "${WORKDIR}/snes9x-sdl-${PV}"
10
11 FILES_${PN} = "${palmtopdir}/bin/snes9x"
12
13 do_compile() {
14         oe_runmake CC="${CC}" CCC="${CXX}" \
15                    INCLUDES="-I${STAGING_INCDIR} `sdl-config --cflags`" \
16                    LDLIBS="`sdl-config --libs` -Wl,-rpath-link,${STAGING_LIBDIR}"
17 }
18
19 do_install() {
20         install -d ${D}/${palmtopdir}/bin/
21         install -m 0755 snes9x ${D}/${palmtopdir}/bin/snes9x
22 }
23