SUMMARY="Free replacement for the FIGlet utility"
DESCRIPTION="Free replacement for the FIGlet utility \
- a program for making large letters out of ordinary text."
HOMEPAGE="https://github.com/cacalabs/toilet"
COPYRIGHT="2004 Sam Hocevar"
LICENSE="WTFPL"
REVISION="1"
srcGitRev="3eb9d58037afb0a1baec6dca82caa045fb2217c0"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="a16b3a6217852d4ec5e9fa94c5600b900710d652910ac041bf1c5c61524a03d4"
SOURCE_FILENAME="toilet-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="toilet-$srcGitRev"

ARCHITECTURES="all"

PROVIDES="
	toilet = $portVersion
	cmd:toilet = $portVersion
	"
REQUIRES="
	haiku
	lib:libcaca
	"

BUILD_REQUIRES="
	haiku_devel
	devel:libcaca
	"
BUILD_PREREQUIRES="
	cmd:autoconf
	cmd:automake
	cmd:gcc
	cmd:make
	cmd:pkg_config
	"

BUILD()
{
	./bootstrap
	runConfigure ./configure
	make
}

INSTALL()
{
	make DESTDIR=$installDestDir install
}
