tty-clock: Add TERMUX_PKG_HOMEPAGE and shorten description
[termux-packages] / packages / fossil / build.sh
CommitLineData
ae284287 1TERMUX_PKG_HOMEPAGE=https://www.fossil-scm.org
ae284287 2TERMUX_PKG_DESCRIPTION='DSCM with built-in wiki, http interface and server, tickets database'
8c07b09f
FF
3TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas'
4TERMUX_PKG_VERSION=1.37
5TERMUX_PKG_SRCURL=http://www.fossil-scm.org/fossil/uv/download/fossil-src-${TERMUX_PKG_VERSION}.tar.gz
6TERMUX_PKG_SHA256=81c19e81c4b2b60930bab3f2147b516525c855924ccc6d089748b0f5611be492
7TERMUX_PKG_FOLDERNAME=Fossil_2017-01-16_205854_1669115ab9
ae284287
VB
8TERMUX_PKG_DEPENDS='libsqlite, openssl'
9
10termux_step_pre_configure () {
8c07b09f
FF
11 # Avoid mixup of flags between cross compilation
12 # and native build.
13 CC="$CC $CFLAGS $LDFLAGS"
14 unset CFLAGS LDFLAGS
ae284287
VB
15}
16
17termux_step_configure () {
18 $TERMUX_PKG_SRCDIR/configure \
19 --prefix=$TERMUX_PREFIX \
20 --host=$TERMUX_HOST_PLATFORM \
21 --json \
22 --disable-internal-sqlite \
23 --with-openssl=$TERMUX_PREFIX \
24 --with-zlib=auto
25}
26