|
|
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Object-relational SQL database" |
|
|
|
TERMUX_PKG_LICENSE="BSD" |
|
|
|
TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas' |
|
|
|
TERMUX_PKG_VERSION=12.1 |
|
|
|
TERMUX_PKG_REVISION=1 |
|
|
|
TERMUX_PKG_SRCURL=https://ftp.postgresql.org/pub/source/v$TERMUX_PKG_VERSION/postgresql-$TERMUX_PKG_VERSION.tar.bz2 |
|
|
|
TERMUX_PKG_SHA256=a09bf3abbaf6763980d0f8acbb943b7629a8b20073de18d867aecdb7988483ed |
|
|
|
TERMUX_PKG_DEPENDS="openssl, libcrypt, readline, libandroid-shmem, libuuid, libxml2, libicu, zlib" |
|
|
@ -28,6 +29,7 @@ TERMUX_PKG_RM_AFTER_INSTALL="lib/libecpg* bin/ecpg share/man/man1/ecpg.1" |
|
|
|
TERMUX_PKG_HOSTBUILD=true |
|
|
|
TERMUX_PKG_BREAKS="postgresql-contrib (<= 10.3-1), postgresql-dev" |
|
|
|
TERMUX_PKG_REPLACES="postgresql-contrib (<= 10.3-1), postgresql-dev" |
|
|
|
TERMUX_PKG_SERVICE_SCRIPT=("postgres" 'mkdir -p ~/.postgres\nexec postgres -D ~/.postgres/ 2>&1') |
|
|
|
|
|
|
|
termux_step_host_build() { |
|
|
|
# Build a native zic binary which we have patched to |
|
|
|