summaryrefslogtreecommitdiff
path: root/recipes/snes232/snes232_cvs.bb
blob: b03c076e8029667dee9433b9721038b89cdcdde7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SECTION = "unknown"
PR = "r5"
LICENSE = "GPL"
PACKAGE_STRIP = "no"

RRECOMMENDS_${PN} = "kernel-module-serport"

SRC_URI = "${HANDHELDS_CVS};module=gpe/games/snes232 \
	file://snes232-2.6.patch;striplevel=0 \
	file://Makefile-2.6"

S = "${WORKDIR}/snes232"

inherit module

do_configure() {
	install -m 0644 ${WORKDIR}/Makefile-2.6 Makefile
}

do_install() {
	install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/snes232
	install snes232.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/snes232/
}