46 lines
949 B
Bash
46 lines
949 B
Bash
SUMMARY="2D Physics demo"
|
|
DESCRIPTION="2D Physics Test Program is a cheesy test harness for 2D physics."
|
|
HOMEPAGE="https://github.com/HaikuArchives/2dPhysicsDemo"
|
|
COPYRIGHT="1997 Chris Hecker
|
|
Andreas Kaenner"
|
|
LICENSE="unknown"
|
|
REVISION="1"
|
|
srcGitRev="340a3f72e176f5692f92c4d275a193506b0cfbd2"
|
|
SOURCE_URI="https://github.com/HaikuArchives/2dPhysicsDemo/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="59122cef2a1a2b92f063f636bc19e4776dfcb8b5a8be2e5e510fa9f995d13b5b"
|
|
SOURCE_FILENAME="2dPhysicsDemo-$portVersion-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="2dPhysicsDemo-$srcGitRev"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
2dphysicsdemo = $portVersion
|
|
app:2dPhysicsDemo = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd Source
|
|
make OBJ_DIR=objects
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cd Source/objects
|
|
cp 2dPhysicsDemo $appsDir
|
|
addAppDeskbarSymlink $appsDir/2dPhysicsDemo
|
|
}
|