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

RRECOMMENDS = "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/
}