From 4bcf5d74abe2e65f3f508bc79999a8bedc33c0d7 Mon Sep 17 00:00:00 2001 From: Bach Nguyen Date: Sun, 18 Nov 2018 13:42:57 -0600 Subject: [PATCH] ZooKeeper [recipe] (#3384) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ZooKeeper [recipe] * Bump version * Formatting * o -> ö --- haiku-apps/zookeeper/zookeeper-2.1.1.recipe | 47 +++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 haiku-apps/zookeeper/zookeeper-2.1.1.recipe diff --git a/haiku-apps/zookeeper/zookeeper-2.1.1.recipe b/haiku-apps/zookeeper/zookeeper-2.1.1.recipe new file mode 100644 index 000000000..e14c46e55 --- /dev/null +++ b/haiku-apps/zookeeper/zookeeper-2.1.1.recipe @@ -0,0 +1,47 @@ +SUMMARY="Execute commands on multiple files" +DESCRIPTION="ZooKeeper is a glue application and a Tracker add-on that lets \ +you specify a shell command or script to be executed on a set of files." +HOMEPAGE="https://github.com/HaikuArchives/ZooKeeper" +COPYRIGHT="2004-2005 Jonas Sundström" +LICENSE="Public Domain" +REVISION="1" +srcGitRev="2a07893903e427640bf4d964b0596e063c9c8c62" +SOURCE_URI="https://github.com/HaikuArchives/ZooKeeper/archive/$srcGitRev.tar.gz" +CHECKSUM_SHA256="5a26651893e7036935fa15adb7acf09b68449ef206584e1a9b5e4226deed2693" +SOURCE_FILENAME="ZooKeeper-$portVersion-$srcGitRev.tar.gz" +SOURCE_DIR="ZooKeeper-$srcGitRev" + +ARCHITECTURES="x86_gcc2 x86_64" + +PROVIDES=" + zookeeper = $portVersion + app:ZooKeeper = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:g++ + cmd:make + " + +BUILD() +{ + cd Source + make OBJ_DIR=objects + mv objects/ZooKeeper . + sh "Build Sample Apps.sh" +} + +INSTALL() +{ + mkdir -p $appsDir/ZooKeeper + mv Source/ZooKeeper $appsDir/ZooKeeper + mv "Sample Applications" $appsDir/ZooKeeper + addAppDeskbarSymlink $appsDir/ZooKeeper +}