summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-04-24 07:56:50 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-24 07:56:50 +0000
commit27bf66212cb159b33412e61bfbef787a28290294 (patch)
treee161887e0b03cdbfbedcff01c3a2470953793c18
parentdf84f20abbadd9aae8dc2aa7b96dac88617bc8f3 (diff)
aliens, abuse: use sdl class
-rw-r--r--packages/abuse/abuse-qpe_0.7.0.bb19
-rw-r--r--packages/abuse/abuse_0.7.0.bb9
-rw-r--r--packages/aliens/aliens_1.0.0.bb16
3 files changed, 10 insertions, 34 deletions
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 <mickey@Vanille.de>"
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 <mickey@Vanille.de>"
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
}