SUMMARY="Simple, high-reliability, distributed software configuration management"
DESCRIPTION="
Simple, high-reliability, distributed software configuration management
"
HOMEPAGE="http://www.fossil-scm.org/" 
SRC_URI="http://www.fossil-scm.org/download/fossil-src-20140127173344.tar.gz"
CHECKSUM_SHA256="aca7c5a7c39ae2880712020e089c9c12543ba656c71d8cf8ac50e3c8871baa80"
REVISION="1"
LICENSE="BSD (2-clause)"
COPYRIGHT="2007 D. Richard Hipp"

ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"

PROVIDES="
	fossil = $portVersion
	cmd:fossil = $portVersion
	"
REQUIRES="
	haiku >= $haikuVersion
	lib:libz
	openssl >= 1.0.0
	"
BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	devel:libz >= 1.2.3
	openssl_devel >= 1.0.0
	"
# tests require cmd:tclsh
BUILD_PREREQUIRES="
	cmd:make
	cmd:gcc
	"

SOURCE_DIR="fossil-src-20140127173344"

BUILD()
{
	./configure --prefix=$prefix
	make
}

INSTALL()
{
	make install
}

TEST()
{
	make test
}
