chiark / gitweb /
2964ca4430acd1263f14aca47facde654a173c8c
[termux-packages] / disabled-packages / postgresql / build.sh
1 TERMUX_PKG_HOMEPAGE=https://www.postgresql.org
2 TERMUX_PKG_DESCRIPTION="Object-relational SQL database"
3 TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas'
4 TERMUX_PKG_VERSION=9.6.2
5 TERMUX_PKG_SRCURL=https://ftp.postgresql.org/pub/source/v$TERMUX_PKG_VERSION/postgresql-$TERMUX_PKG_VERSION.tar.bz2
6 TERMUX_PKG_SHA256=0187b5184be1c09034e74e44761505e52357248451b0c854dddec6c231fe50c9
7 TERMUX_PKG_DEPENDS="openssl, libcrypt, readline, libandroid-shmem"
8 TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --without-gssapi --with-readline --with-openssl --with-system-tzdata=/system/usr/share/zoneinfo"
9 TERMUX_PKG_EXTRA_MAKE_ARGS=" -s"
10
11 termux_step_pre_configure () {
12         # to use shmem and sem stubs
13         CFLAGS+=" -DTERMUX_SEMOPS_STUBS=1"
14         LDFLAGS+=" -llog"
15 }
16