[oe-commits] org.oe.dev add numptyphysics (ugly ugly build), an insanely cool crayon game
mickeyl commit
oe at amethyst.openembedded.net
Wed Jul 30 16:35:28 UTC 2008
add numptyphysics (ugly ugly build), an insanely cool crayon game
Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: c2f7d9149107f32bc1ef57365f5e10736dd5de3a
ViewMTN: http://monotone.openembedded.org/revision/info/c2f7d9149107f32bc1ef57365f5e10736dd5de3a
Files:
1
packages/numptyphysics
packages/numptyphysics/numptyphysics_svn.bb
conf/distro/include/sane-srcrevs.inc
Diffs:
#
# mt diff -r358ebca4871137902f5525b721deee3b5a7b73ec -rc2f7d9149107f32bc1ef57365f5e10736dd5de3a
#
#
#
# add_dir "packages/numptyphysics"
#
# add_file "packages/numptyphysics/numptyphysics_svn.bb"
# content [ed831effd3c3ba20e55d8e3004b5808bb5076151]
#
# patch "conf/distro/include/sane-srcrevs.inc"
# from [840f016202d28dd7d52f92202a9c81d4c69a4e4d]
# to [a41931d45bc89cf1f17499d2c57e729ee6ba3b9c]
#
============================================================
--- packages/numptyphysics/numptyphysics_svn.bb ed831effd3c3ba20e55d8e3004b5808bb5076151
+++ packages/numptyphysics/numptyphysics_svn.bb ed831effd3c3ba20e55d8e3004b5808bb5076151
@@ -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}"
============================================================
--- conf/distro/include/sane-srcrevs.inc 840f016202d28dd7d52f92202a9c81d4c69a4e4d
+++ conf/distro/include/sane-srcrevs.inc a41931d45bc89cf1f17499d2c57e729ee6ba3b9c
@@ -93,6 +93,7 @@ SRCREV_pn-networkmanager-applet ?= "200"
SRCREV_pn-netsurf ?= "3859"
SRCREV_pn-networkmanager ?= "3202"
SRCREV_pn-networkmanager-applet ?= "200"
+SRCREV_pn-numptyphysics = "45"
SRCREV_pn-oh-puzzles ?= "22"
SRCREV_pn-osb-browser ?= "125"
SRCREV_pn-osb-jscore ?= "117"
More information about the Openembedded-commits
mailing list