Files
haikuports/games-puzzle/numptyphysics/numptyphysics-0.2_157.recipe
2016-02-17 14:39:36 -05:00

58 lines
1.2 KiB
Bash

SUMMARY="A drawing puzzle game in the spirit (and style?) of Crayon Physics"
DESCRIPTION="Harness gravity with your crayon and set about creating blocks, ramps, \
levers, pulleys and whatever else you fancy to get the little red thing to \
the little yellow thing."
HOMEPAGE="http://numptyphysics.garage.maemo.org"
COPYRIGHT="2008 Tim Edmonds"
LICENSE="GNU GPL v3"
REVISION="2"
SOURCE_URI="https://github.com/thp/numptyphysics/archive/08697dc48f0a58d69728856264856700dc567e4f.tar.gz"
CHECKSUM_SHA256="e76c961ba242572d452084e31251781b99e875d685ece393afbca40a2f135303"
SOURCE_DIR="numptyphysics-08697dc48f0a58d69728856264856700dc567e4f"
ARCHITECTURES="!x86_gcc2 !x86 !x86_64"
PROVIDES="
numptyphysics = $portVersion
"
REQUIRES="
haiku
lib:libsdl
lib:libSDL_image
lib:libSDL_ttf
#box2d
"
BUILD_REQUIRES="
haiku_devel
devel:libsdl
devel:libSDL_image
devel:libSDL_ttf
#box2d
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:aclocal
cmd:autoconf
cmd:make
"
BUILD()
{
libtoolize --force --copy --install
aclocal
autoconf
./configure --prefix=$prefix \
--bindir=$appsDir/numptyphysics \
--datarootdir=$appsDir
# TODO: figure out how to move the ~/.numptyphysics directory to ~/config/settings/numptyphysics
make
}
INSTALL()
{
make install
}