summaryrefslogtreecommitdiff
path: root/recipes/snes9x/snes9x_1.43-WIP1.bb
blob: 4a66dedbb90890a87afbfe490e588dd1bdb1decc (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
30
31
32
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;apply=yes;striplevel=2 \
	file://private.patch;apply=yes;striplevel=0 \
	file://64bit.patch;apply=yes \
        file://configure.patch;apply=yes;striplevel=0 \
        file://linkage.patch;apply=yes;striplevel=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}
}

SRC_URI[md5sum] = "caa2ed89fdc643a18310d2a50db1e02c"
SRC_URI[sha256sum] = "bc14905c7a7967de59b70909c021d2439d9ec1c9bae835b70cdb786e59caa81c"