You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
691 B

TERMUX_PKG_HOMEPAGE=http://e-x-a.org/codecrypt/
TERMUX_PKG_DESCRIPTION="The post-quantum cryptography tool"
TERMUX_PKG_LICENSE="LGPL-3.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_VERSION=1.8
TERMUX_PKG_REVISION=8
TERMUX_PKG_SRCURL=https://github.com/exaexa/codecrypt/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=25f11bc361b4f8aca7245698334b5715b7d594d708a75e8cdb2aa732dc46eb96
TERMUX_PKG_DEPENDS="cryptopp, fftw, libgmp"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-cryptopp"
termux_step_pre_configure() {
./autogen.sh
export LIBS="-lm"
export CRYPTOPP_CFLAGS="-I$TERMUX_PREFIX/include"
export CRYPTOPP_LIBS="-L$TERMUX_PREFIX/lib -lcryptopp"
}