summaryrefslogtreecommitdiff
path: root/packages/snes232/snes232_cvs.bb
blob: 56091149bc387ecf4c3e1cd41c28ecbca6c6bc05 (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 = "r3"
LICENSE = "GPL"
INHIBIT_PACKAGE_STRIP = "1"

RDEPENDS = "kernel-module-serport"

SRC_URI = "${HANDHELDS_CVS};module=gpe/games/snes232 \
	file://snes232-2.6.patch;patch=1;pnum=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/
}