mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-11 12:20:52 +00:00
18 lines
809 B
Bash
18 lines
809 B
Bash
TERMUX_PKG_HOMEPAGE=https://www.agwa.name/projects/git-crypt/
|
|
TERMUX_PKG_DESCRIPTION="Enables transparent encryption and decryption of files for a git repository"
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=0.8.0
|
|
TERMUX_PKG_SRCURL=https://www.agwa.name/projects/git-crypt/downloads/git-crypt-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=540d424f87bed7994a4551a8c24b16e50d3248a5b7c3fd8ceffe94bfd4af0ad9
|
|
TERMUX_PKG_DEPENDS="git, libc++, openssl"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -DCMAKE_BUILD_TYPE=Release -Dbuild_parse=yes -Dbuild_xmlparser=yes"
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS="ENABLE_MAN=yes"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_pre_configure() {
|
|
# https://github.com/AGWA/git-crypt/issues/232
|
|
CPPFLAGS+=" -DOPENSSL_API_COMPAT=0x30000000L"
|
|
CXXFLAGS+=" $CPPFLAGS"
|
|
}
|