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