SUMMARY="Create GUI dialogs from shell scripts"
DESCRIPTION="This tools is able to create various GUI dialogs. This allows \
for shell scripts to easily integrate to the system and interact with the user."
HOMEPAGE="https://github.com/atalax/hdialog"
COPYRIGHT="2014-2015 Josef Gajdusek"
LICENSE="MIT"
REVISION="3"
SOURCE_URI="https://github.com/atalax/hdialog/archive/v0.2.tar.gz"
CHECKSUM_SHA256="77deae4e51f522eb6735d184372222e482edec83f93c8b3ace5d5d2c100e165d"

ARCHITECTURES="all"

PROVIDES="
	hdialog = $portVersion
	cmd:hdialog = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:g++
	"

BUILD()
{
	make $jobArgs OBJ_DIR=objects
}

INSTALL()
{
	mkdir $binDir
	cp objects/hdialog $binDir
}
