|
|
@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.postgresql.org |
|
|
|
TERMUX_PKG_DESCRIPTION="Object-relational SQL database" |
|
|
|
TERMUX_PKG_LICENSE="BSD" |
|
|
|
TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas' |
|
|
|
TERMUX_PKG_VERSION=11.5 |
|
|
|
TERMUX_PKG_REVISION=1 |
|
|
|
TERMUX_PKG_VERSION=12.1 |
|
|
|
TERMUX_PKG_SRCURL=https://ftp.postgresql.org/pub/source/v$TERMUX_PKG_VERSION/postgresql-$TERMUX_PKG_VERSION.tar.bz2 |
|
|
|
TERMUX_PKG_SHA256=7fdf23060bfc715144cbf2696cf05b0fa284ad3eb21f0c378591c6bca99ad180 |
|
|
|
TERMUX_PKG_SHA256=a09bf3abbaf6763980d0f8acbb943b7629a8b20073de18d867aecdb7988483ed |
|
|
|
TERMUX_PKG_DEPENDS="openssl, libcrypt, readline, libandroid-shmem, libuuid, libxml2, libicu, zlib" |
|
|
|
# - pgac_cv_prog_cc_ldflags__Wl___as_needed: Inform that the linker supports as-needed. It's |
|
|
|
# not stricly necessary but avoids unnecessary linking of binaries. |
|
|
@ -34,7 +33,7 @@ termux_step_host_build() { |
|
|
|
# Build a native zic binary which we have patched to |
|
|
|
# use symlinks instead of hard links. |
|
|
|
$TERMUX_PKG_SRCDIR/configure --without-readline |
|
|
|
make ./src/timezone/zic |
|
|
|
make |
|
|
|
} |
|
|
|
|
|
|
|
termux_step_pre_configure() { |
|
|
|