2019-09-08 15:04:48 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://e-x-a.org/codecrypt/
|
|
|
|
TERMUX_PKG_DESCRIPTION="The post-quantum cryptography tool"
|
|
|
|
TERMUX_PKG_LICENSE="LGPL-3.0"
|
2022-01-31 19:18:51 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2019-09-08 15:04:48 +02:00
|
|
|
TERMUX_PKG_VERSION=1.8
|
2022-03-20 12:22:55 +01:00
|
|
|
TERMUX_PKG_REVISION=9
|
2019-09-08 15:04:48 +02:00
|
|
|
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"
|
|
|
|
}
|