Adding ServicesWatcher 1.0 recipe (#809)

This commit is contained in:
Brian
2016-09-23 21:07:13 +00:00
committed by waddlesplash
parent 3a868d0e9d
commit c1977284cc

View File

@@ -0,0 +1,54 @@
SUMMARY="Monitor the status of the system servers, Deskbar and Tracker"
DESCRIPTION="Services Watcher is an application which will monitor the \
status of the system servers, Deskbar and Tracker. The running status of \
these services will automatically update as any of them quit or start. You \
may manually start, stop and restart these services on demand."
HOMEPAGE="https://github.com/Perelandra0x309/services-watcher"
COPYRIGHT="2010-2016 Brian Hill"
LICENSE="BSD (3-clause)"
REVISION="1"
SOURCE_URI="https://github.com/Perelandra0x309/services-watcher/archive/${portVersion}_source.tar.gz"
CHECKSUM_SHA256="d624c65ae4c55447a4778366e6a9267fe2c44eceec2834081e28104be0827a0b"
SOURCE_DIR="services-watcher-${portVersion}_source"
ARCHITECTURES="x86_gcc2 !x86"
PROVIDES="
serviceswatcher = $portVersion
app:ServicesWatcher = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
USER_SETTINGS_FILES="settings/Services_Watcher_settings"
BUILD()
{
cd src
make $jobArgs OBJ_DIR=.
}
INSTALL()
{
mkdir -p $appsDir
mkdir -p $docDir
# copy documentation
cp -af "Read Me" $docDir
# copy executable
cp -af ServicesWatcher $appsDir
# deskbar link
addAppDeskbarSymlink $appsDir/ServicesWatcher
}