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/" 
SOURCE_URI="http://downloads.sourceforge.net/project/srm/old_releases/1.2.12/srm-1.2.12.tar.bz2"
CHECKSUM_SHA256="865ce03933dcf61c9dc4e673cd458a902b7f47de8430176aeb2ca0ae78ee8b67"
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
	"
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 free disk space.
TEST()
{
	make test
}
