chiark / gitweb /
Remove TERMUX_TAR and TERMUX_TOUCH
[termux-packages] / packages / fossil / build.sh
1 TERMUX_PKG_HOMEPAGE=https://www.fossil-scm.org
2 TERMUX_PKG_DESCRIPTION='DSCM with built-in wiki, http interface and server, tickets database'
3 TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas'
4 TERMUX_PKG_VERSION=2.1
5 TERMUX_PKG_SRCURL=https://www.fossil-scm.org/index.html/uv/fossil-src-${TERMUX_PKG_VERSION}.tar.gz
6 TERMUX_PKG_SHA256=85dcdf10d0f1be41eef53839c6faaa73d2498a9a140a89327cfb092f23cfef05
7 TERMUX_PKG_FOLDERNAME=fossil-${TERMUX_PKG_VERSION}
8 TERMUX_PKG_DEPENDS='libsqlite, openssl'
9
10 termux_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
17 termux_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