Updates (#944)
[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"
4TERMUX_PKG_VERSION=2.2
6eb54048 5TERMUX_PKG_SRCURL=https://www.fossil-scm.org/index.html/uv/fossil-src-${TERMUX_PKG_VERSION}.tar.gz
7bc54734 6TERMUX_PKG_SHA256=9b8f82196eb89e4a2e82b4bcc51e314ae509a22c37073a18a0b325f11c53cf71
6eb54048 7TERMUX_PKG_FOLDERNAME=fossil-${TERMUX_PKG_VERSION}
7bc54734 8TERMUX_PKG_DEPENDS="libsqlite, openssl"
ae284287
VB
9
10termux_step_pre_configure () {
8c07b09f
FF
11 # Avoid mixup of flags between cross compilation
12 # and native build.
13 CC="$CC $CFLAGS $LDFLAGS"
14 unset CFLAGS LDFLAGS
ae284287
VB
15}
16
17termux_step_configure () {
18 $TERMUX_PKG_SRCDIR/configure \
19 --prefix=$TERMUX_PREFIX \
20 --host=$TERMUX_HOST_PLATFORM \
21 --json \
22 --disable-internal-sqlite \
23 --with-openssl=$TERMUX_PREFIX \
24 --with-zlib=auto
25}
26