Commit | Line | Data |
---|---|---|
f74fd572 FF |
1 | TERMUX_PKG_HOMEPAGE=https://libgit2.github.com/ |
2 | TERMUX_PKG_DESCRIPTION="C library implementing Git core methods" | |
d617bf58 FF |
3 | TERMUX_PKG_VERSION=0.27.0 |
4 | TERMUX_PKG_SHA256=545b0458292c786aba334f1bf1c8f73600ae73dd7205a7bb791a187ee48ab8d2 | |
f74fd572 | 5 | TERMUX_PKG_SRCURL=https://github.com/libgit2/libgit2/archive/v${TERMUX_PKG_VERSION}.tar.gz |
f74fd572 | 6 | TERMUX_PKG_DEPENDS="libcurl, openssl" |
2fa945e4 | 7 | TERMUX_PKG_REVISION=1 |
f74fd572 | 8 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DBUILD_CLAR=OFF" |
2fa945e4 | 9 | termux_step_pre_configure() { |
10 | # fixes for arm https://github.com/android-ndk/ndk/issues/642 | |
11 | if [ $TERMUX_ARCH = "arm" ]; then | |
12 | CFLAGS+=" -mllvm -arm-promote-constant=0" | |
13 | fi | |
14 | } |