termux-packages/packages/fossil/build.sh

27 lines
832 B
Bash
Raw Normal View History

2017-01-03 10:24:27 +01:00
TERMUX_PKG_HOMEPAGE=https://www.fossil-scm.org
TERMUX_PKG_DESCRIPTION="DSCM with built-in wiki, http interface and server, tickets database"
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
2017-08-11 15:14:36 +02:00
TERMUX_PKG_VERSION=2.3
TERMUX_PKG_REVISION=2
2017-08-11 15:14:36 +02:00
TERMUX_PKG_SHA256=f073abf455a38ea0a08c3926d7445ab8115b145457f36c763ad9b74cd6a64a5d
2017-04-09 00:10:14 +02:00
TERMUX_PKG_SRCURL=https://www.fossil-scm.org/index.html/uv/fossil-src-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="libsqlite, openssl"
2017-01-03 10:24:27 +01:00
termux_step_pre_configure () {
2017-01-29 15:25:46 +01:00
# Avoid mixup of flags between cross compilation
# and native build.
CC="$CC $CFLAGS $LDFLAGS"
unset CFLAGS LDFLAGS
2017-01-03 10:24:27 +01:00
}
termux_step_configure () {
$TERMUX_PKG_SRCDIR/configure \
--prefix=$TERMUX_PREFIX \
--host=$TERMUX_HOST_PLATFORM \
--json \
--disable-internal-sqlite \
--with-openssl=$TERMUX_PREFIX \
--with-zlib=auto
}