summaryrefslogtreecommitdiff
path: root/recipes/snes9x/snes9x_1.43-WIP1.bb
blob: df623e591cb60015186fc39120b8433beebe88c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
SECTION = "x11/games"
PR = "r4"
LICENSE = "snes9x"
DEPENDS = "libxxf86dga libxxf86vm"
DEPENDS_append_i686 = " nasm-native"
RDEPENDS_epia = "kernel-module-joydev"

SRC_URI = "http://www.lysator.liu.se/snes9x/1.43-WIP1/snes9x-1.43-WIP1-src.tar.gz \
	file://makefile.patch;patch=1;pnum=2 \
	file://private.patch;patch=1;pnum=0 \
	file://64bit.patch;patch=1 \
        file://configure.patch;patch=1;pnum=0 \
        file://linkage.patch;patch=1;pnum=0"

S = "${WORKDIR}/snes9x-1.43-dev-src/snes9x"

inherit autotools

export OECFLAGS="${CFLAGS}"
export OELDFLAGS="${LDFLAGS}"

do_configure() {
	oe_runconf
}

do_install() {
	install -d ${D}${bindir}
	install snes9x ${D}${bindir}
}