b8b5b702be
Maximal TERMUX_PKG_API_LEVEL we have in packages is 24 as our target, so TERMUX_PKG_API_LEVEL definition is useless.
28 lines
864 B
Bash
28 lines
864 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_MAINTAINER="Vishal Biswas @vishalbiswas"
|
|
TERMUX_PKG_VERSION=2.8
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SHA256=6a32bec73de26ff5cc8bbb0b7b45360f4e4145931fd215ed91414ed190b3715d
|
|
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
|
|
}
|
|
|