vim: Update from patch 237 to 304
[termux-packages] / disabled-packages / postgresql / build.sh
CommitLineData
f8cb5237
VB
1TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas'
2TERMUX_PKG_VERSION=9.6.1
3TERMUX_PKG_HOMEPAGE=https://www.postgresql.org
4TERMUX_PKG_SRCURL=https://ftp.postgresql.org/pub/source/v$TERMUX_PKG_VERSION/postgresql-$TERMUX_PKG_VERSION.tar.bz2
5TERMUX_PKG_DEPENDS="openssl, libcrypt, readline"
6TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --without-gssapi --with-readline --with-openssl --with-system-tzdata=/system/usr/share/zoneinfo"
7TERMUX_PKG_EXTRA_MAKE_ARGS=" -s"
8
9termux_step_pre_configure () {
10 # to use shmem and sem stubs
11 #CPPFLAGS="$CPPFLAGS -DTERMUX_SHMEM_STUBS -DTERMUX_SEMOPS_STUBS -DEXEC_BACKEND"
12 CFLAGS="$CFLAGS -DTERMUX_SHMEM_STUBS=1 -DTERMUX_SEMOPS_STUBS=1"
13 LDFLAGS="$LDFLAGS -llog"
14}
15