From 3f07fd774ac0b1c353058c1a3f2a59d94134d873 Mon Sep 17 00:00:00 2001 From: Bach Nguyen Date: Tue, 13 Nov 2018 08:36:41 -0600 Subject: [PATCH] 2dPhysicsDemo: new recipe. [license needed] (#3351) --- .../2dphysicsdemo-22.5.98.recipe | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 sci-physics/2dphysicsdemo/2dphysicsdemo-22.5.98.recipe diff --git a/sci-physics/2dphysicsdemo/2dphysicsdemo-22.5.98.recipe b/sci-physics/2dphysicsdemo/2dphysicsdemo-22.5.98.recipe new file mode 100644 index 000000000..213166773 --- /dev/null +++ b/sci-physics/2dphysicsdemo/2dphysicsdemo-22.5.98.recipe @@ -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 +}