summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-07-30 16:27:09 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-07-30 16:27:09 +0000
commit80b25c25786a838e45da53567321bd349ca1bb2c (patch)
tree6a376ea0b1fba500fe44c28d8d5ec0354aed6bea /packages
parent698dcc9cb0b9b9d764925df85a2763c10a152da6 (diff)
parent4d175a934904e5ef35c9f42b981039ae05348e16 (diff)
merge of '0521752c751b5734b320120045655229b2faff4f'
and 'f75d239d7378665c50aea95b24abbfc6a815bd43'
Diffstat (limited to 'packages')
-rw-r--r--packages/images/fso-image.bb5
-rw-r--r--packages/numptyphysics/.mtn2git_empty0
-rw-r--r--packages/numptyphysics/numptyphysics_svn.bb38
3 files changed, 43 insertions, 0 deletions
diff --git a/packages/images/fso-image.bb b/packages/images/fso-image.bb
index 299e9790a1..fb5026db2a 100644
--- a/packages/images/fso-image.bb
+++ b/packages/images/fso-image.bb
@@ -71,6 +71,10 @@ GTK_INSTALL = "\
tangogps-fso \
"
+GAMES_INSTALL = "\
+ numptyphysics \
+"
+
# FIXME these should rather be part of alsa-state,
# once Om stabilizes them...
AUDIO_INSTALL_append_om-gta01 = "\
@@ -98,6 +102,7 @@ IMAGE_INSTALL = "\
${BASE_INSTALL} \
${X_INSTALL} \
${GTK_INSTALL} \
+ ${GAMES_INSTALL} \
${AUDIO_INSTALL} \
${TOOLS_INSTALL} \
${PYTHON_INSTALL} \
diff --git a/packages/numptyphysics/.mtn2git_empty b/packages/numptyphysics/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/numptyphysics/.mtn2git_empty
diff --git a/packages/numptyphysics/numptyphysics_svn.bb b/packages/numptyphysics/numptyphysics_svn.bb
new file mode 100644
index 0000000000..976028befe
--- /dev/null
+++ b/packages/numptyphysics/numptyphysics_svn.bb
@@ -0,0 +1,38 @@
+DESCRIPTION = "Numpty Physics is a drawing puzzle game in the spirit (and style?) \
+of Crayon Physics using the same excellent Box2D engine."
+DEPENDS = "virtual/libsdl libsdl-image"
+LICENSE = "GPL"
+HOMEPAGE = "http://numptyphysics.garage.maemo.org/"
+SECTION = "x11/games"
+PV = "0.2+svnr${SRCREV}"
+
+SRC_URI = "\
+ svn://garage.maemo.org/svn/${PN};module=trunk;proto=https \
+ http://wwwpub.zih.tu-dresden.de/~mkluge/numptyphysics_setup.tgz \
+"
+S = "${WORKDIR}/trunk"
+
+EXTRA_S = "${WORKDIR}/local/packages/numptyphysics"
+
+# what an ugly buildsystem... handcrafted Makefiles... back to the stoneage
+export CCOPTS = "${CFLAGS} -I Box2D/Include"
+export LDOPTS = "${LDFLAGS} -lSDL -lSDL_image"
+
+do_configure() {
+ for i in Config.h Makefile Game.cpp; do
+ install -m 0644 ${EXTRA_S}/$i ${S}
+ done
+}
+
+do_install() {
+ install -d ${D}${datadir}/numptyphysics
+ install -d ${D}${bindir}
+ install -d ${D}${datadir}/pixmaps
+ install -d ${D}${datadir}/applications
+ install -m 0755 ${S}/arm/Game ${D}${bindir}/numptyphysics
+ install -m 0644 ${EXTRA_S}/star.png ${D}${datadir}/pixmaps
+ install -m 0644 ${EXTRA_S}/numptyphysics.desktop ${D}/${datadir}/applications
+ cp -a ${EXTRA_S}/data/* ${D}/${datadir}/numptyphysics/
+}
+
+FILES_${PN} += "${datadir}"