termux-packages/packages/scrypt/build.sh

15 lines
572 B
Bash
Raw Normal View History

2017-03-24 00:54:13 +01:00
TERMUX_PKG_HOMEPAGE=https://www.tarsnap.com/scrypt.html
TERMUX_PKG_DESCRIPTION="scrypt KDF library and file encryption tool"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="BSD 2-Clause"
2017-03-24 00:54:13 +01:00
TERMUX_PKG_VERSION=1.2.1
2019-01-25 21:19:48 +01:00
TERMUX_PKG_REVISION=2
2017-03-24 00:54:13 +01:00
TERMUX_PKG_SRCURL=https://www.tarsnap.com/scrypt/scrypt-1.2.1.tgz
TERMUX_PKG_SHA256=4621f5e7da2f802e20850436219370092e9fcda93bd598f6d4236cce33f4c577
TERMUX_PKG_DEPENDS="openssl"
2019-01-25 21:19:48 +01:00
termux_step_pre_configure() {
2019-01-27 07:30:15 +01:00
# Work around miscompilation on at least aarch64 with -Oz,
# see https://github.com/termux/termux-packages/issues/3260:
2019-01-25 21:19:48 +01:00
export CFLAGS=${CFLAGS/-Oz/-Os}
}