mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
2dPhysicsDemo: new recipe. [license needed] (#3351)
This commit is contained in:
45
sci-physics/2dphysicsdemo/2dphysicsdemo-22.5.98.recipe
Normal file
45
sci-physics/2dphysicsdemo/2dphysicsdemo-22.5.98.recipe
Normal file
@@ -0,0 +1,45 @@
|
||||
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="x86_gcc2 x86_64"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user