2017-01-03 10:24:27 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.fossil-scm.org
|
2017-04-21 12:15:57 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="DSCM with built-in wiki, http interface and server, tickets database"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="BSD 2-Clause"
|
2020-05-26 15:01:02 +02:00
|
|
|
TERMUX_PKG_VERSION=2.11
|
2017-04-09 00:10:14 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://www.fossil-scm.org/index.html/uv/fossil-src-${TERMUX_PKG_VERSION}.tar.gz
|
2020-05-26 15:01:02 +02:00
|
|
|
TERMUX_PKG_SHA256=3d5a04bbe0075edd7f04c64ffc8f3af71d16565bf606b753f5d5752e48ff3631
|
2019-04-14 14:51:46 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libsqlite, openssl, zlib"
|
2017-01-03 10:24:27 +01:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_pre_configure() {
|
2017-01-29 15:25:46 +01:00
|
|
|
# Avoid mixup of flags between cross compilation
|
|
|
|
# and native build.
|
2019-04-14 21:18:55 +02:00
|
|
|
CC="$CC $CPPFLAGS $CFLAGS $LDFLAGS"
|
2017-01-29 15:25:46 +01:00
|
|
|
unset CFLAGS LDFLAGS
|
2017-01-03 10:24:27 +01:00
|
|
|
}
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_configure() {
|
2017-01-03 10:24:27 +01:00
|
|
|
$TERMUX_PKG_SRCDIR/configure \
|
|
|
|
--prefix=$TERMUX_PREFIX \
|
|
|
|
--host=$TERMUX_HOST_PLATFORM \
|
|
|
|
--json \
|
|
|
|
--disable-internal-sqlite \
|
|
|
|
--with-openssl=$TERMUX_PREFIX \
|
2019-04-14 21:14:26 +02:00
|
|
|
--with-zlib=$TERMUX_PREFIX
|
2017-01-03 10:24:27 +01:00
|
|
|
}
|