postgresql: Remove --with-system-tzdata
[termux-packages] / disabled-packages / postgresql / build.sh
CommitLineData
4c29be99
FF
1TERMUX_PKG_HOMEPAGE=https://www.postgresql.org
2TERMUX_PKG_DESCRIPTION="Object-relational SQL database"
f8cb5237 3TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas'
349fd91f 4TERMUX_PKG_VERSION=9.6.2
f8cb5237 5TERMUX_PKG_SRCURL=https://ftp.postgresql.org/pub/source/v$TERMUX_PKG_VERSION/postgresql-$TERMUX_PKG_VERSION.tar.bz2
349fd91f
FF
6TERMUX_PKG_SHA256=0187b5184be1c09034e74e44761505e52357248451b0c854dddec6c231fe50c9
7TERMUX_PKG_DEPENDS="openssl, libcrypt, readline, libandroid-shmem"
a9508389
FF
8TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
9USE_UNNAMED_POSIX_SEMAPHORES=1
10--with-openssl
11--without-gssapi
12--with-readline
a9508389 13"
f8cb5237
VB
14TERMUX_PKG_EXTRA_MAKE_ARGS=" -s"
15
16termux_step_pre_configure () {
349fd91f 17 LDFLAGS+=" -llog"
f8cb5237 18}
40868b30
FF
19
20termux_step_post_make_install() {
21 # Sync with postgresql-contrib.subpackage.sh.
22 for contrib in hstore pgcrypto pg_stat_statements; do
23 (cd contrib/$contrib && make -s -j $TERMUX_MAKE_PROCESSES install)
24 done
25}