diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/brickout/brickout_2002.06.09.bb | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/brickout/brickout_2002.06.09.bb')
-rw-r--r-- | recipes/brickout/brickout_2002.06.09.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes/brickout/brickout_2002.06.09.bb b/recipes/brickout/brickout_2002.06.09.bb new file mode 100644 index 0000000000..916e9f7279 --- /dev/null +++ b/recipes/brickout/brickout_2002.06.09.bb @@ -0,0 +1,40 @@ +DESCRIPTION = "Clone of the classic arcade game Asteroids for Qt/Embedded based palmtop environments w/ SDL" +SECTION = "opie/games" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "libsdl-qpe libsdl-mixer libsdl-image" +PR = "r4" + +SRC_URI = "ftp://ftp.billsgames.com/unix/agenda/brickout/src/brickout-${PV}.tar.gz \ + file://directories.patch;patch=1" + +inherit palmtop + +EXTRA_QMAKEVARS_POST += " INCLUDEPATH+=${STAGING_INCDIR}/SDL LIBS+=-lSDL LIBS+=-lSDL_mixer LIBS+=-lSDLmain \ + LIBS+=-lSDL_image LIBS+=-lpthread TARGET=brickout DEFINES+=USE_SDL " + +do_configure_prepend() { + qmake -project -o brickout.pro +} + +do_install() { + install -d ${D}${palmtopdir}/bin \ + ${D}${palmtopdir}/apps/Games \ + ${D}${palmtopdir}/pics \ + ${D}${palmtopdir}/share/brickout/sounds \ + ${D}${palmtopdir}/share/brickout/music \ + ${D}${palmtopdir}/share/brickout/images + install -D -m 0755 brickout ${D}${palmtopdir}/bin/brickout + install -D -m 0644 brickout.png ${D}${palmtopdir}/pics/brickout.png + + cp -pPR sounds/* ${D}${palmtopdir}/share/brickout/sounds/ + cp -pPR music/* ${D}${palmtopdir}/share/brickout/music/ + cp -pPR images-sdl/* ${D}${palmtopdir}/share/brickout/images/ + + echo "[Desktop Entry]" >${D}${palmtopdir}/apps/Games/brickout.desktop + echo "Comment=Arkanoid game" >>${D}${palmtopdir}/apps/Games/brickout.desktop + echo "Exec=brickout" >>${D}${palmtopdir}/apps/Games/brickout.desktop + echo "Icon=brickout" >>${D}${palmtopdir}/apps/Games/brickout.desktop + echo "Type=Application" >>${D}${palmtopdir}/apps/Games/brickout.desktop + echo "Name=Brickout" >>${D}${palmtopdir}/apps/Games/brickout.desktop +} |