1SUMMARY="A tiny but useful software for debugging"
2DESCRIPTION="DebugMonitor is a small but useful software that can improve \
3the reliability and maintainability of your code. This software comes with \
4a DebugMonitor and a DebugClient library. To use, simply include the client \
5library in your app's Makefile, rebuild your app, run DebugMonitor, and then \
6start up your app. The main window should be clickable, and once you do so, a \
7the DebugMonitor window will appear and should record actions performed."
8HOMEPAGE="https://github.com/HaikuArchives/DebugMonitor"
9COPYRIGHT="1999 Alister Lee"
10LICENSE="MIT"
11REVISION="1"
12srcGitRev="fe99167d0c0b7a2cf6f9d2d90f25c8a9073efc7d"
13SOURCE_URI="https://github.com/HaikuArchives/DebugMonitor/archive/$srcGitRev.tar.gz"
14CHECKSUM_SHA256="3e2e8920ccdde3e4c890431ebe8df358d7dd102109543356f10b8ea600444ea3"
15SOURCE_FILENAME="DebugMonitor-$portVersion-$srcGitRev.tar.gz"
16SOURCE_DIR="DebugMonitor-$srcGitRev"
17
18ARCHITECTURES="all"
19
20PROVIDES="
21	debugmonitor = $portVersion
22	app:DebugMonitor = $portVersion
23	"
24REQUIRES="
25	haiku
26	"
27
28BUILD_REQUIRES="
29	haiku_devel
30	"
31BUILD_PREREQUIRES="
32	makefile_engine
33	cmd:g++
34	cmd:make
35	"
36
37BUILD()
38{
39	make -C DebugClient  OBJ_DIR=objects
40	make -C DebugMonitor OBJ_DIR=objects
41	cp DebugClient/objects/DebugClient.a Scribble/
42	make -C Scribble     OBJ_DIR=objects
43}
44
45INSTALL()
46{
47	mkdir -p $appsDir/DebugMonitor/Examples
48	cp Scribble/objects/Scribble $appsDir/DebugMonitor/Examples
49	cp DebugMonitor/objects/DebugMonitor $appsDir/DebugMonitor
50	addAppDeskbarSymlink $appsDir/DebugMonitor/DebugMonitor
51}
52