Files
haikuports/games-puzzle/numptyphysics/numptyphysics-0.3.4.recipe
Jerome Duval 28a2e74553 solarus: fix requires, bump rev.
* vcmi, neverball and numptyphysics: fix requires.
2017-11-07 22:03:57 +01:00

67 lines
1.8 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-2010 Tim Edmonds
2008, 2012, 2014-2016 Thomas Perl"
LICENSE="GNU GPL v3"
REVISION="2"
SOURCE_URI="https://github.com/thp/numptyphysics/archive/0.3.4.tar.gz"
CHECKSUM_SHA256="e00e1535c8246f3f1c3bab37d2e6f01259a14f59b38382299457b4b8447d2bc9"
SOURCE_DIR=""
ARCHITECTURES="!x86_gcc2 !x86 !x86_64"
SECONDARY_ARCHITECTURES="!x86_gcc2 !x86"
# numptphysics needs a working box2d recipe before it will build correctly
# and probably needs a bit more work as well to get building and working right
PROVIDES="
numptyphysics = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libSDL2_2.0$secondaryArchSuffix
lib:libSDL2_image_2.0$secondaryArchSuffix
lib:libSDL2_ttf_2.0$secondaryArchSuffix
lib:libBox2D$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl2_2.0$secondaryArchSuffix
devel:libSDL2_image_2.0$secondaryArchSuffix
devel:libSDL2_ttf_2.0$secondaryArchSuffix
devel:libBox2D$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:aclocal$secondaryArchSuffix
cmd:autoconf$secondaryArchSuffix
cmd:automake$secondaryArchSuffix
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
runConfigure ./configure
make
}
INSTALL()
{
make install
}