termux-packages/root-packages/cryptsetup/build.sh

18 lines
780 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://gitlab.com/cryptsetup/cryptsetup/
TERMUX_PKG_DESCRIPTION="Userspace setup tool for transparent encryption of block devices using dm-crypt"
2019-01-24 20:15:44 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
2020-06-06 14:36:22 +02:00
TERMUX_PKG_VERSION=2.3.3
2020-07-08 15:26:08 +02:00
TERMUX_PKG_REVISION=2
2019-02-03 19:01:55 +01:00
TERMUX_PKG_SRCURL=https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v${TERMUX_PKG_VERSION:0:3}/cryptsetup-${TERMUX_PKG_VERSION}.tar.xz
2020-06-06 14:36:22 +02:00
TERMUX_PKG_SHA256=3bca4ffe39e2f94cef50f6ea65acb873a6dbce5db34fc6bcefe38b6d095e82df
2020-02-14 22:09:54 +01:00
TERMUX_PKG_DEPENDS="json-c, libdevmapper, libgcrypt, libpopt, libuuid, util-linux, openssl, libiconv"
TERMUX_PKG_BREAKS="cryptsetup-dev"
TERMUX_PKG_REPLACES="cryptsetup-dev"
2019-02-09 12:14:42 +01:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--with-luks2-lock-path=$PREFIX/var/run
"
2020-02-16 11:17:47 +01:00
termux_step_pre_configure() {
export LDFLAGS+=" -liconv"
}