mcrypt: new recipe (#2001)

This commit is contained in:
nys
2017-12-30 16:52:48 +08:00
committed by fbrosson
parent ff49e93644
commit 5beba3596e
2 changed files with 50 additions and 5 deletions

View File

@@ -0,0 +1,50 @@
SUMMARY="A replacement for the old Unix crypt command"
DESCRIPTION="mcrypt is an enhanced replacement for the old crypt command. It \
allows users to encrypt files or data streams without having to be \
cryptographers. mcrypt uses libmcrypt, its companion library, which contains \
the actual encryption functions and provides a standardized mechanism for \
accessing them."
HOMEPAGE="http://mcrypt.sourceforge.net/"
COPYRIGHT="1998-2007 Nikos Mavroyanopoulos"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/mcrypt/mcrypt-$portVersion.tar.gz"
CHECKSUM_SHA256="5145aa844e54cca89ddab6fb7dd9e5952811d8d787c4f4bf27eb261e6c182098"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
PROVIDES="
mcrypt = $portVersion
cmd:mcrypt = $portVersion
cmd:mdecrypt = $portVersion
"
REQUIRES="
haiku
lib:libmcrypt
lib:libmhash
"
BUILD_REQUIRES="
haiku_devel
devel:libmcrypt
devel:libmhash
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:gcc
cmd:libtoolize
cmd:make
"
BUILD()
{
autoreconf -vfi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}

View File

@@ -1,5 +0,0 @@
Package: mcrypt
Version: 2.6.8
Copyright: 1998-2007 Nikos Mavroyanopoulos
License: GNU GPL v3
URL: http://mcrypt.sourceforge.net/