19 lines
819 B
Bash
19 lines
819 B
Bash
TERMUX_PKG_HOMEPAGE=https://gitlab.com/cryptsetup/cryptsetup/
|
|
TERMUX_PKG_DESCRIPTION="Userspace setup tool for transparent encryption of block devices using dm-crypt"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=2.3.4
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v${TERMUX_PKG_VERSION:0:3}/cryptsetup-${TERMUX_PKG_VERSION}.tar.xz
|
|
TERMUX_PKG_SHA256=9d16eebb96b53b514778e813019b8dd15fea9fec5aafde9fae5febf59df83773
|
|
TERMUX_PKG_DEPENDS="json-c, libdevmapper, libgcrypt, libpopt, libuuid, util-linux, openssl, libiconv"
|
|
TERMUX_PKG_BREAKS="cryptsetup-dev"
|
|
TERMUX_PKG_REPLACES="cryptsetup-dev"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
--with-luks2-lock-path=$TERMUX_PREFIX/var/run
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
export LDFLAGS+=" -liconv"
|
|
}
|