0
0
Fork 0
haikuports/haiku-apps/timecop/timecop-0.61.recipe

49 lines
1.0 KiB
Bash

SUMMARY="A tool to collect statistics about your computer usage"
DESCRIPTION="You want to know, how much time you spend in front of your \
computer?
You want to know, how often your computer crashes?
TimeCop writes a protocol of your computer sessions."
HOMEPAGE="http://www.augusta.de/~michael/BeOS/TimeCop/index.us.html"
COPYRIGHT="Michael Pieper"
LICENSE="GNU GPL v2"
REVISION="6"
srcGitRev="ee79c42895ce73f14a40c74f93297cf0397b8db2"
SOURCE_URI="https://github.com/HaikuArchives/TimeCop/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="b2717b2bcb55763402ba3325123c04924fce972c2d3ca77d2e3dab34f9322964"
SOURCE_DIR="TimeCop-$srcGitRev"
ARCHITECTURES="all"
PROVIDES="
timecop = $portVersion
app:TimeCop = $portVersion
cmd:TimeCop_daemon = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
"
BUILD()
{
make
}
INSTALL()
{
mkdir -p $binDir
mkdir -p $appsDir
cp -a $sourceDir/bin/TimeCop_daemon $binDir/TimeCop_daemon
cp -a $sourceDir/bin/TimeCop $appsDir/TimeCop
addAppDeskbarSymlink $appsDir/TimeCop
}