mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
app-crypt/codecrypt: add port (#1900)
This commit is contained in:
54
app-crypt/codecrypt/codecrypt-1.8.recipe
Normal file
54
app-crypt/codecrypt/codecrypt-1.8.recipe
Normal file
@@ -0,0 +1,54 @@
|
||||
SUMMARY="Post-quantum cryptography tool"
|
||||
DESCRIPTION="GnuPG-like unix program for encryption and signing that uses only \
|
||||
quantum-computer-resistant algorithms"
|
||||
HOMEPAGE="http://e-x-a.org/codecrypt"
|
||||
COPYRIGHT="2013-2016 Mirek Kratochvil"
|
||||
LICENSE="
|
||||
GNU GPL v3
|
||||
GNU LGPL v3
|
||||
"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://e-x-a.org/codecrypt/files/codecrypt-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3be7c2a548aa336dbac706c3cab2071664d02b11652c16c02a8b4fb5cac6bc88"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
codecrypt$secondaryArchSuffix = $portVersion
|
||||
cmd:ccr$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcryptopp$secondaryArchSuffix
|
||||
lib:libfftw3$secondaryArchSuffix
|
||||
lib:libgmp$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcryptopp$secondaryArchSuffix
|
||||
devel:libfftw3$secondaryArchSuffix
|
||||
devel:libgmp$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:cmp
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
CPPFLAGS="-D_BSD_SOURCE" LIBS="-lbsd" runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
install -d -m 755 "$docDir"
|
||||
install -t "$docDir" -m 644 README
|
||||
}
|
||||
Reference in New Issue
Block a user