blob: 6c833c2f0113e0ae970279156f581008446221fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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"
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 \
file://gcc43.diff;patch=1 \
"
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_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}"
|