php: Update from 7.2.4 to 7.2.5
[termux-packages] / packages / fossil / build.sh
CommitLineData
ae284287 1TERMUX_PKG_HOMEPAGE=https://www.fossil-scm.org
7bc54734
VB
2TERMUX_PKG_DESCRIPTION="DSCM with built-in wiki, http interface and server, tickets database"
3TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
53672642
FF
4TERMUX_PKG_VERSION=2.5
5TERMUX_PKG_SHA256=f9b07360811f432dfb36ebfb44c83886872556ecce1c80387629ce90e1e4aad3
6eb54048 6TERMUX_PKG_SRCURL=https://www.fossil-scm.org/index.html/uv/fossil-src-${TERMUX_PKG_VERSION}.tar.gz
7bc54734 7TERMUX_PKG_DEPENDS="libsqlite, openssl"
ae284287
VB
8
9termux_step_pre_configure () {
8c07b09f
FF
10 # Avoid mixup of flags between cross compilation
11 # and native build.
12 CC="$CC $CFLAGS $LDFLAGS"
13 unset CFLAGS LDFLAGS
ae284287
VB
14}
15
16termux_step_configure () {
17 $TERMUX_PKG_SRCDIR/configure \
18 --prefix=$TERMUX_PREFIX \
19 --host=$TERMUX_HOST_PLATFORM \
20 --json \
21 --disable-internal-sqlite \
22 --with-openssl=$TERMUX_PREFIX \
23 --with-zlib=auto
24}
25