1 DESCRIPTION = "A matrix Game, Qt/Embedded based Palmtop Environments Edition"
7 SRC_URI = "http://www.geocities.co.jp/SiliconValley-Oakland/8074/src/qmatrix-${PV}.tar.gz"
8 S = "${WORKDIR}/qmatrix"
13 MACHTYPE_c7x0 = "sl700"
14 MACHTYPE_tosa = "sl700"
16 do_configure_append() {
17 ln -v -f -s config/config-${MACHTYPE}.h config.h
18 ln -v -f -s config/config.mk-${MACHTYPE} config.mk
19 if [ "${MACHTYPE}" = "sl300" ]
21 ln -vfs bigFishSize.h areaSize.h
23 ln -vfs smallFishSize.h areaSize.h
25 ln -v -f -s HiScoreRegConfig-${MACHTYPE}.h HiScoreRegConfig.h
28 do_compile_prepend() {
29 cd images && oe_runmake && cd ${S}
33 install -d ${D}${palmtopdir}/apps/Games
34 install -m 0644 desktop/qmatrix-${MACHTYPE}.desktop ${D}${palmtopdir}/apps/Games/qmatrix.desktop
35 install -d ${D}${palmtopdir}/bin
36 install -m 0755 qmatrix ${D}${palmtopdir}/bin/qmatrix
37 install -d ${D}${palmtopdir}/pics
38 install -m 0644 desktop/qmatrix.png ${D}${palmtopdir}/pics/
39 install -d ${D}${palmtopdir}/help/html/
40 install -m 0644 desktop/qmatrix.html ${D}${palmtopdir}/help/html/qmatrix.html