termux-packages/packages/fossil/build.sh
Butta 86ca5ced35 cmake: update from 3.18.1 to 3.18.2
debianutils: update from 4.11 to 4.11.1

fossil: update from 2.12 to 2.12.1

imagemagick: update from 7.0.10.27 to 7.0.10.28

nano: update from 5.0 to 5.1
2020-08-21 10:57:03 +05:30

26 lines
863 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_LICENSE="BSD 2-Clause"
TERMUX_PKG_LICENSE_FILE="COPYRIGHT-BSD2.txt"
TERMUX_PKG_VERSION=2.12.1
TERMUX_PKG_SRCURL=https://www.fossil-scm.org/index.html/uv/fossil-src-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=822326ffcfed3748edaf4cfd5ab45b23225dea840304f765d1d55d2e6c7d6603
TERMUX_PKG_DEPENDS="libsqlite, openssl, zlib"
termux_step_pre_configure() {
# Avoid mixup of flags between cross compilation
# and native build.
CC="$CC $CPPFLAGS $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=$TERMUX_PREFIX
}