From 27bf66212cb159b33412e61bfbef787a28290294 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Mon, 24 Apr 2006 07:56:50 +0000 Subject: aliens, abuse: use sdl class --- packages/abuse/abuse-qpe_0.7.0.bb | 19 ------------------- packages/abuse/abuse_0.7.0.bb | 9 ++++----- packages/aliens/aliens_1.0.0.bb | 16 ++++++---------- 3 files changed, 10 insertions(+), 34 deletions(-) delete mode 100644 packages/abuse/abuse-qpe_0.7.0.bb diff --git a/packages/abuse/abuse-qpe_0.7.0.bb b/packages/abuse/abuse-qpe_0.7.0.bb deleted file mode 100644 index 0b588b3c07..0000000000 --- a/packages/abuse/abuse-qpe_0.7.0.bb +++ /dev/null @@ -1,19 +0,0 @@ -SECTION = "opie/games" - -include abuse_${PV}.bb - -DEPENDS += "virtual/libqpe" - -EXTRA_CXXFLAGS_append = " -Dmain=SDL_main" -EXTRA_CFLAGS_append = " -Dmain=SDL_main" -EXTRA_LFLAGS_append = "-lqpe" - -do_install() { - install -d ${D}${palmtopdir}/bin \ - ${D}${palmtopdir}/pics \ - ${D}${palmtopdir}/apps/Games \ - ${D}${palmtopdir}/share/aliens - install -D -m 0755 aliens ${D}${palmtopdir}/bin/aliens - install -D -m 0644 aliens.png ${D}${palmtopdir}/pics/aliens.png - install -D -m 0644 aliens.desktop ${D}${palmtopdir}/Games/aliens.desktop -} diff --git a/packages/abuse/abuse_0.7.0.bb b/packages/abuse/abuse_0.7.0.bb index 38124296fa..c918564627 100644 --- a/packages/abuse/abuse_0.7.0.bb +++ b/packages/abuse/abuse_0.7.0.bb @@ -1,13 +1,12 @@ DESCRIPTION = "Abuse-SDL is a port of Abuse by Crack Dot Com to Linux using the Simple DirectMedia Layer library." -PRIORITY = "optional" -MAINTAINER = "Michael 'Mickey' Lauer " SECTION = "games" LICENSE = "GPL" DEPENDS = "virtual/libsdl libsdl-mixer libsdl-image" - -FILES_${PN} += "${datadir}/games" +APPNAME = "abuse.sdl" SRC_URI = "http://www.labyrinth.net.au/~trandor/abuse/files/abuse_sdl-${PV}.tar.bz2" S = "${WORKDIR}/abuse_sdl-${PV}" -inherit autotools +inherit autotools sdl + +FILES_${PN} += "${datadir}/games" diff --git a/packages/aliens/aliens_1.0.0.bb b/packages/aliens/aliens_1.0.0.bb index 829aa2ba77..3b8399aac5 100644 --- a/packages/aliens/aliens_1.0.0.bb +++ b/packages/aliens/aliens_1.0.0.bb @@ -3,24 +3,20 @@ SECTION = "opie/games" PRIORITY = "optional" MAINTAINER = "Michael 'Mickey' Lauer " LICENSE = "GPL" -DEPENDS = "virtual/libqpe" -PR = "r3" +APPNAME = "aliens.sdl" +APPTYPE = "binary" +PR = "r4" SRC_URI = "ftp://ftp.billsgames.com/unix/agenda/aliens/src/aliens_V${PV}.tar.gz" S = "${WORKDIR}/aliens_V${PV}" -inherit palmtop +inherit opie do_compile_prepend() { cd images && make && cd .. } do_install() { - install -d ${D}${palmtopdir}/bin \ - ${D}${palmtopdir}/pics \ - ${D}${palmtopdir}/apps/Games \ - ${D}${palmtopdir}/share/aliens - install -D -m 0755 aliens ${D}${palmtopdir}/bin/aliens - install -D -m 0644 aliens.png ${D}${palmtopdir}/pics/aliens.png - install -D -m 0644 aliens.desktop ${D}${palmtopdir}/apps/Games/aliens.desktop + install -d ${D}${palmtopdir}/pics + install -m 0644 aliens.png ${D}${palmtopdir}/pics/aliens.png } -- cgit v1.2.3