SUMMARY="Display TUI widgets for shell scripts"
DESCRIPTION="
Dialog is an application used in shell scripts which displays text user\
interface widgets. It uses the curses or ncurses library.
"
HOMEPAGE="http://invisible-island.net/dialog/"
COPYRIGHT="1999-2014 Thomas E. Dickey"
LICENSE="GNU LGPL v2"
SOURCE_URI="ftp://invisible-island.net/dialog/dialog.tar.gz"
CHECKSUM_SHA256="ccf07eedf147ac901aff1d984ab63ddd6986b615ddf67435f270d5462ea4ca81"
SOURCE_FILENAME="dialog-$portVersion.tar.gz"
REVISION="1"

ARCHITECTURES="x86_gcc2 x86 x86_64"

PROVIDES="
	dialog = $portVersion
	cmd:dialog = $portVersion
"
REQUIRES="
	haiku
	lib:libncurses
"
BUILD_REQUIRES="
	haiku_devel
	devel:libncurses
"
BUILD_PREREQUIRES="
	cmd:gcc
	cmd:ld
	cmd:make
"
SOURCE_DIR="dialog-1.2-20140219"

BUILD()
{
	./configure --bindir=$binDir
	make
}
INSTALL()
{
	make install
}
