srm: Add recipe

Current CVS has been fixed, so we don't need any patch.
This commit is contained in:
François Revol
2013-12-27 13:54:58 +01:00
parent 7dbd21bd91
commit b9f88033a8

View File

@@ -0,0 +1,50 @@
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="cvs://:pserver:anonymous@srm.cvs.sourceforge.net:/cvsroot/srm/srm"
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
}