Another pass of .oe cleanups.
[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 RDEPENDS = "libc6 libsdl-qpe"
5 DEPENDS = "virtual/libc libsdl-qpe"
6
7 SRC_URI = "http://www.vanille.de/mirror/snes9x-sdl-${PV}.tar.bz2 \
8            file://${FILESDIR}/compile.patch;patch=1"
9 S = "${WORKDIR}/snes9x-sdl-${PV}"
10
11 FILES_${PN} = "${TARGET_PALMTOPDIR}"
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}/${TARGET_PALMTOPDIR}/${bindir}
21         install -m 0755 snes9x ${D}/${TARGET_PALMTOPDIR}/${bindir}/snes9x
22 }
23