termux-packages/packages/fossil/build.sh
Henrik Grimler 52103c6129 Updates for some packages (#5070)
* imagemagick: update to 7.0.10.2

* fossil: update to 2.10

Had to disable tests checking for sqlite3 as they try to run cross-compiled tests

* automake: update to 1.16.2

* ghostscript: update to 9.52

* cmake: update to 3.17.0

* git: update to 2.26.0

* krb5: update to 1.18

* ldc: update to 1.20.1
2020-03-24 15:27:02 +01:00

25 lines
816 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_VERSION=2.10
TERMUX_PKG_SRCURL=https://www.fossil-scm.org/index.html/uv/fossil-src-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=d8a3776d2ce77385ed5ff20a2776d13bb534fb2508e87351e14e94f91cd12b10
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
}