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.

25 lines
835 B

TERMUX_PKG_HOMEPAGE=https://www.fossil-scm.org
TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas'
TERMUX_PKG_VERSION=1.36
TERMUX_PKG_SRCURL=https://www.fossil-scm.org/index.html/uv/download/fossil-src-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_DESCRIPTION='DSCM with built-in wiki, http interface and server, tickets database'
TERMUX_PKG_SHA256=2676c35ec5e44099a3522e7e9f1d1f84a9338db4457618d5338cb6826d0dfd12
TERMUX_PKG_FOLDERNAME=fossil-$TERMUX_PKG_VERSION
TERMUX_PKG_DEPENDS='libsqlite, openssl'
termux_step_pre_configure () {
# for some unknown reason LDFLAGS aren't picked up from env
CFLAGS="$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
}