SUMMARY="srm - secure file deletion for posix systems" 
DESCRIPTION="
A command-line compatible rm which destroys file contents before unlinking.
" 
HOMEPAGE="http://srm.sourceforge.net/" 
SRC_URI="svn://svn.code.sf.net/p/srm/srm/trunk"
REVISION="1"
LICENSE="MIT (no promotion)"
COPYRIGHT="2000 Matthew D. Gauthier"

ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"

PROVIDES="
	srm$secondaryArchSuffix = $portVersion
	cmd:srm = $portVersion
	"
REQUIRES="
	haiku$secondaryArchSuffix
	"
BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel >= $haikuVersion
	"
BUILD_PREREQUIRES="
	cmd:aclocal
	cmd:autoconf
	cmd:automake
	cmd:make
	cmd:gcc$secondaryArchSuffix
	"

BUILD()
{
	#./autogen.sh ...
	aclocal
	autoheader
	automake --add-missing
	autoconf
	runConfigure ./configure
	make
}

INSTALL()
{
	make install
}

# Beware, needs at least 5GB of disk space free.
TEST()
{
	make test
}
