ZooKeeper [recipe] (#3384)

* ZooKeeper [recipe]

* Bump version

* Formatting

* o -> ö
This commit is contained in:
Bach Nguyen
2018-11-18 13:42:57 -06:00
committed by Scott McCreary
parent 6ebe11ba62
commit 4bcf5d74ab

View File

@@ -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
}