mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
71 lines
1.4 KiB
Bash
71 lines
1.4 KiB
Bash
SUMMARY="A free physics sandbox game"
|
|
DESCRIPTION="The Powder Toy is a free physics sandbox game,\
|
|
which simulates air pressure and velocity, heat, gravity and \
|
|
a countless number of interactions between different substances! \
|
|
The game provides you with various building materials, liquids, gases \
|
|
and electronic components which can be used to construct complex machines,\
|
|
guns, bombs, realistic terrains and almost anything else."
|
|
HOMEPAGE="http://powdertoy.co.uk/"
|
|
COPYRIGHT="2008-2010 Stanislaw Skowronek
|
|
2010-2016 Simon Robertshaw"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="3"
|
|
SOURCE_URI="https://github.com/simtr/The-Powder-Toy/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="9a7de557e771f88e823d06cc21d16f1fbbca930ce751720bc9035d00073d6635"
|
|
SOURCE_DIR="The-Powder-Toy-$portVersion"
|
|
PATCHES="thepowdertoy-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PROVIDES="
|
|
thepowdertoy = $portVersion
|
|
cmd:powder
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libbz2
|
|
lib:libfftw3
|
|
lib:libfftw3f
|
|
lib:libgl
|
|
lib:liblua
|
|
lib:libsdl
|
|
lib:libz
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
lua51_devel
|
|
devel:libbz2
|
|
devel:libfftw3
|
|
devel:libfftw3f
|
|
devel:liblua
|
|
devel:liblua5.1
|
|
devel:libsdl
|
|
devel:libz
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:cmake
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:libtoolize
|
|
cmd:make
|
|
cmd:pkg_config
|
|
cmd:python
|
|
cmd:scons
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
scons -Q
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cp build/powder $appsDir/Powder
|
|
addAppDeskbarSymlink $appsDir/Powder
|
|
}
|