termux-packages/packages/codecrypt/build.sh
Leonid Pliushch 9c9e7f65b8 update maintainer info
Specifying Termux org members is more correct as we don't have repo-specific
maintainers for termux-packages.

DEB control field specification doesn't allow to specify multiple people as
package maintainers. Value "Termux members @termux" will be used as default
for that field which can be overridden on per-package basis if needed.

%ci:no-build
2020-05-13 11:05:52 +03:00

18 lines
691 B
Bash

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 Pliushch <leonid.pliushch@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"
}