aboutsummaryrefslogtreecommitdiffstats
path: root/packages/numptyphysics/numptyphysics_svn.bb
diff options
context:
space:
mode:
authorJulien Cassignol <ainulindale@gmail.com>2008-11-15 00:09:03 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2008-11-15 00:09:03 +0000
commitcb452087bb55cb426a711f5fbec60bf8173859e2 (patch)
tree8fb9e6990f6127666faffd5d7453cd7f478a2a75 /packages/numptyphysics/numptyphysics_svn.bb
parentc3ddec6575892bd802b98db7a608cd4b57ae625b (diff)
downloadopenembedded-cb452087bb55cb426a711f5fbec60bf8173859e2.tar.gz
openembedded-cb452087bb55cb426a711f5fbec60bf8173859e2.tar.bz2
openembedded-cb452087bb55cb426a711f5fbec60bf8173859e2.zip
numptyphysics: Update to rev 109, add some patches
Diffstat (limited to 'packages/numptyphysics/numptyphysics_svn.bb')
-rw-r--r--packages/numptyphysics/numptyphysics_svn.bb30
1 files changed, 15 insertions, 15 deletions
diff --git a/packages/numptyphysics/numptyphysics_svn.bb b/packages/numptyphysics/numptyphysics_svn.bb
index 6c833c2f01..1e5409f223 100644
--- a/packages/numptyphysics/numptyphysics_svn.bb
+++ b/packages/numptyphysics/numptyphysics_svn.bb
@@ -1,39 +1,39 @@
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"
+DEPENDS = "virtual/libsdl libsdl-image libpng"
LICENSE = "GPL"
HOMEPAGE = "http://numptyphysics.garage.maemo.org/"
SECTION = "x11/games"
PV = "0.2+svnr${SRCREV}"
+inherit autotools
+
SRC_URI = "\
svn://garage.maemo.org/svn/${PN};module=trunk;proto=https \
http://wwwpub.zih.tu-dresden.de/~mkluge/numptyphysics_setup.tgz \
- file://gcc43.diff;patch=1 \
+ file://replay_off.patch;patch=1;pnum=0 \
+ file://next.png \
+ file://keyb.patch;patch=1;pnum=0 \
+ file://keyb.png \
+ file://faster.patch;patch=1;pnum=0 \
+ file://numptyphysics.desktop \
"
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 -lX11"
-
-do_configure() {
- for i in Config.h Makefile Game.cpp; do
- install -m 0644 ${EXTRA_S}/$i ${S}
- done
+do_configure_append() {
+ mv ../next.png data
+ mv ../keyb.png data
}
-do_install() {
+do_install_append() {
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/
+ install -m 0644 ../numptyphysics.desktop ${D}/${datadir}/applications
+ cp -a ${EXTRA_S}/data/* data/keyb.png ${D}/${datadir}/numptyphysics/
}
FILES_${PN} += "${datadir}"