termux-packages/packages/fossil/build.sh
Vishal Biswas 497da8498a Updates (#944)
* valac: update from 0.36.0 to 0.36.1

* fossil: update from 2.1 to 2.2

* libicu: update from 58.2 to 59.1

* libdb: update from 6.2.23 to 6.2.32
2017-04-21 12:15:57 +02:00

27 lines
861 B
Bash

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"
TERMUX_PKG_VERSION=2.2
TERMUX_PKG_SRCURL=https://www.fossil-scm.org/index.html/uv/fossil-src-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=9b8f82196eb89e4a2e82b4bcc51e314ae509a22c37073a18a0b325f11c53cf71
TERMUX_PKG_FOLDERNAME=fossil-${TERMUX_PKG_VERSION}
TERMUX_PKG_DEPENDS="libsqlite, openssl"
termux_step_pre_configure () {
# Avoid mixup of flags between cross compilation
# and native build.
CC="$CC $CFLAGS $LDFLAGS"
unset CFLAGS LDFLAGS
}
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
}