You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
810 B

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.4
TERMUX_PKG_SHA256=d23498b6ae8894d18d7b73b8312c7514eda9ef91cf9f96c4c38429316919ad29
TERMUX_PKG_SRCURL=https://www.fossil-scm.org/index.html/uv/fossil-src-${TERMUX_PKG_VERSION}.tar.gz
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
}