diff options
Diffstat (limited to 'packages/opie-qasteroids')
-rw-r--r-- | packages/opie-qasteroids/opie-qasteroids_1.1.8.bb | 30 | ||||
-rw-r--r-- | packages/opie-qasteroids/opie-qasteroids_cvs.bb | 7 |
2 files changed, 37 insertions, 0 deletions
diff --git a/packages/opie-qasteroids/opie-qasteroids_1.1.8.bb b/packages/opie-qasteroids/opie-qasteroids_1.1.8.bb index e69de29bb2..ac4f2abcd2 100644 --- a/packages/opie-qasteroids/opie-qasteroids_1.1.8.bb +++ b/packages/opie-qasteroids/opie-qasteroids_1.1.8.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "Game: shoot the asteroids" +SECTION = "opie/games" +PRIORITY = "optional" +MAINTAINER = "Team Opie <opie@handhelds.org>" +LICENSE = "GPL" +PR = "r1" + +APPNAME = "qasteroids" + +TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}" +SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/games/qasteroids \ + ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \ + ${HANDHELDS_CVS};tag=${TAG};module=opie/apps" + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +# FILES plugins/application/libqasteroids.so* bin/qasteroids apps/Games/qasteroids.desktop pics/qasteroids/* +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ + + for dir in bits exhaust missile powerups rock2 rock3 shield ship + do + install -d ${D}${palmtopdir}/pics/${APPNAME}/$dir/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/$dir/*.png ${D}${palmtopdir}/pics/${APPNAME}/$dir/ + done +} + diff --git a/packages/opie-qasteroids/opie-qasteroids_cvs.bb b/packages/opie-qasteroids/opie-qasteroids_cvs.bb index 57e592e8b9..a3277912cc 100644 --- a/packages/opie-qasteroids/opie-qasteroids_cvs.bb +++ b/packages/opie-qasteroids/opie-qasteroids_cvs.bb @@ -5,6 +5,7 @@ MAINTAINER = "Team Opie <opie@handhelds.org>" LICENSE = "GPL" PV = "1.1.8+cvs-${CVSDATE}" APPNAME = "qasteroids" +PR = "r1" SRC_URI = "${HANDHELDS_CVS};module=opie/noncore/games/qasteroids \ ${HANDHELDS_CVS};module=opie/pics \ @@ -18,5 +19,11 @@ inherit opie do_install() { install -d ${D}${palmtopdir}/pics/${APPNAME}/ install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ + + for dir in bits exhaust missile powerups rock2 rock3 shield ship + do + install -d ${D}${palmtopdir}/pics/${APPNAME}/$dir/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/$dir/*.png ${D}${palmtopdir}/pics/${APPNAME}/$dir/ + done } |