From 1735991a278b11161a74f56e938653c54ef00eeb Mon Sep 17 00:00:00 2001 From: Tudor Nazarie Date: Wed, 11 Jan 2017 21:55:33 +0200 Subject: [PATCH] commandtimer: added recipe (#1035) Added recipe for CommandTimer timed command execution utility. --- .../commandtimer/commandtimer-2.0~git.recipe | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 haiku-apps/commandtimer/commandtimer-2.0~git.recipe diff --git a/haiku-apps/commandtimer/commandtimer-2.0~git.recipe b/haiku-apps/commandtimer/commandtimer-2.0~git.recipe new file mode 100644 index 000000000..a7c91dda2 --- /dev/null +++ b/haiku-apps/commandtimer/commandtimer-2.0~git.recipe @@ -0,0 +1,46 @@ +SUMMARY="Launch or repeat commands after a user-chosen countdown" +DESCRIPTION="CommandTimer counts down to zero then executes whatever command \ +is in the top box." +HOMEPAGE="https://github.com/HaikuArchives/CommandTimer" +COPYRIGHT="1999 Jason Scaroni" +LICENSE="Public Domain" +REVISION="1" +commit="c85fda361d2190688680319fd19d0ee00fb0d4ad" +SOURCE_URI="https://github.com/HaikuArchives/CommandTimer/archive/$commit.tar.gz" +CHECKSUM_SHA256="33652430ce0d44e6e9a403ce38b1a5f6bfb40119bab99348692e02923eaf6cad" +SOURCE_FILENAME="CommandTimer-$commit.tar.gz" +SOURCE_DIR="CommandTimer-$commit" + +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + commandtimer = $portVersion + app:CommandTimer = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:g++ + cmd:ld + cmd:make + " + +BUILD() +{ + cd src + mkdir -p bin + make $jobArgs TARGET_DIR=bin +} + +INSTALL() +{ + install -d $appsDir + install -t $appsDir src/bin/CommandTimer + addAppDeskbarSymlink $appsDir/CommandTimer +}