0
0
Fork 0
haikuports/haiku-apps/zookeeper/zookeeper-2.1.1.recipe

48 lines
1.1 KiB
Bash

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="all"
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
}