srm: Add recipe for release 1.2.12

This commit is contained in:
François Revol
2014-01-15 14:07:58 +01:00
parent 6f99b58787
commit 258a194d76

View File

@@ -0,0 +1,53 @@
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="http://sourceforge.net/projects/srm/files/1.2.12/srm-1.2.12.tar.bz2"
CHECKSUM_MD5="5c89c96f53ea1a3d671678bec52959a1"
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 free disk space.
TEST()
{
make test
}