srm: bump version.

This commit is contained in:
Jerome Duval
2017-09-20 21:39:29 +02:00
parent 1b3ce799c9
commit 18865159bb
2 changed files with 9 additions and 61 deletions

View File

@@ -1,53 +0,0 @@
SUMMARY="Secure file deletion for posix systems"
DESCRIPTION="A command-line compatible rm which destroys file contents \
before unlinking."
HOMEPAGE="http://srm.sourceforge.net/"
COPYRIGHT="2000 Matthew D. Gauthier"
LICENSE="MIT (no promotion)"
REVISION="2"
SOURCE_URI="http://downloads.sourceforge.net/project/srm/old_releases/1.2.12/srm-1.2.12.tar.bz2"
CHECKSUM_SHA256="865ce03933dcf61c9dc4e673cd458a902b7f47de8430176aeb2ca0ae78ee8b67"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
srm$secondaryArchSuffix = $portVersion
cmd:srm$secondaryArchSuffix = $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
}

View File

@@ -5,28 +5,29 @@ HOMEPAGE="http://srm.sourceforge.net/"
COPYRIGHT="2000 Matthew D. Gauthier"
LICENSE="MIT (no promotion)"
REVISION="1"
SOURCE_URI="svn://svn.code.sf.net/p/srm/srm/trunk"
SOURCE_URI="https://downloads.sourceforge.net/project/srm/$portVersion/srm-$portVersion.tar.gz"
CHECKSUM_SHA256="7583c1120e911e292f22b4a1d949b32c23518038afd966d527dae87c61565283"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
srm$secondaryArchSuffix = $portVersion
srm = $portVersion
cmd:fill_test = $portVersion
cmd:srm = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
haiku
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
haiku_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc
cmd:make
cmd:gcc$secondaryArchSuffix
"
BUILD()
@@ -37,7 +38,7 @@ BUILD()
automake --add-missing
autoconf
runConfigure ./configure
make
make $jobArgs
}
INSTALL()