Switch https->http for ftp.videolan.org
[termux-packages] / packages / fossil / build.sh
... / ...
CommitLineData
1TERMUX_PKG_HOMEPAGE=https://www.fossil-scm.org
2TERMUX_PKG_DESCRIPTION="DSCM with built-in wiki, http interface and server, tickets database"
3TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
4TERMUX_PKG_VERSION=2.3
5TERMUX_PKG_REVISION=2
6TERMUX_PKG_SHA256=f073abf455a38ea0a08c3926d7445ab8115b145457f36c763ad9b74cd6a64a5d
7TERMUX_PKG_SRCURL=https://www.fossil-scm.org/index.html/uv/fossil-src-${TERMUX_PKG_VERSION}.tar.gz
8TERMUX_PKG_DEPENDS="libsqlite, openssl"
9
10termux_step_pre_configure () {
11 # Avoid mixup of flags between cross compilation
12 # and native build.
13 CC="$CC $CFLAGS $LDFLAGS"
14 unset CFLAGS LDFLAGS
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