2018-05-26 12:50:04 +02:00
|
|
|
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"
|
2021-03-01 22:13:50 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-06-11 21:19:36 +02:00
|
|
|
TERMUX_PKG_VERSION=2.3.6
|
2022-03-23 13:56:42 +01:00
|
|
|
TERMUX_PKG_REVISION=4
|
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
|
2021-06-11 21:19:36 +02:00
|
|
|
TERMUX_PKG_SHA256=b296b7a21ea576c2b180611ccb19d06aec8dddaedf7c704b0c6a81210c25635f
|
2020-02-14 22:09:54 +01:00
|
|
|
TERMUX_PKG_DEPENDS="json-c, libdevmapper, libgcrypt, libpopt, libuuid, util-linux, openssl, libiconv"
|
2019-07-29 09:10:34 +02:00
|
|
|
TERMUX_PKG_BREAKS="cryptsetup-dev"
|
|
|
|
TERMUX_PKG_REPLACES="cryptsetup-dev"
|
2019-02-09 12:14:42 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
2020-12-04 14:48:00 +01:00
|
|
|
--with-luks2-lock-path=$TERMUX_PREFIX/var/run
|
2019-02-09 12:14:42 +01:00
|
|
|
"
|
2020-02-16 11:17:47 +01:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
export LDFLAGS+=" -liconv"
|
|
|
|
}
|