This package is required to build TimescaleDB.

Signed-off-by: Björn Esser <b.es...@pengutronix.de>
---
 rules/host-postgresql.in   |  7 ++++
 rules/host-postgresql.make | 76 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 83 insertions(+)
 create mode 100644 rules/host-postgresql.in
 create mode 100644 rules/host-postgresql.make

diff --git a/rules/host-postgresql.in b/rules/host-postgresql.in
new file mode 100644
index 000000000..ac778582a
--- /dev/null
+++ b/rules/host-postgresql.in
@@ -0,0 +1,7 @@
+## SECTION=hosttools_noprompt
+
+config HOST_POSTGRESQL
+       tristate
+       prompt "postgresql"
+       help
+         FIXME
diff --git a/rules/host-postgresql.make b/rules/host-postgresql.make
new file mode 100644
index 000000000..1cc9c5b2f
--- /dev/null
+++ b/rules/host-postgresql.make
@@ -0,0 +1,76 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Bjoern Esser <b...@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_POSTGRESQL) += host-postgresql
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#HOST_POSTGRESQL_CONF_ENV      := $(HOST_ENV)
+
+#
+# autoconf
+#
+HOST_POSTGRESQL_CONF_TOOL      := autoconf
+HOST_POSTGRESQL_CONF_OPT       := \
+       $(HOST_AUTOCONF) \
+       --enable-integer-datetimes \
+       --disable-nls \
+       --disable-rpath \
+       --enable-spinlocks \
+       --enable-atomics \
+       --enable-strong-random \
+       --disable-debug \
+       --disable-profiling \
+       --disable-coverage \
+       --disable-dtrace \
+       --disable-tap-tests \
+       --disable-depend \
+       --disable-cassert \
+       --enable-thread-safety \
+       --enable-largefile \
+       --disable-float4-byval \
+       --disable-float8-byval \
+       --without-llvm \
+       --without-icu \
+       --without-tcl \
+       --without-perl \
+       --without-python \
+       --without-gssapi \
+       --without-pam \
+       --without-bsd-auth \
+       --without-ldap \
+       --without-bonjour \
+       --$(call ptx/wwo,PTXCONF_OPENSSL)-openssl \
+       --without-selinux \
+       --$(call ptx/wwo,PTXCONF_SYSTEMD)-systemd \
+       --without-readline \
+       --without-libedit-preferred \
+       --without-ossp-uuid \
+       --without-libxml \
+       --without-libxslt \
+       --with-system-tzdata=/usr/share/zoneinfo \
+       --without-zlib
+
+#  --enable-tap-tests      enable TAP tests (requires Perl and IPC::Run)
+#  --enable-depend         turn on automatic dependency tracking
+#  --with-uuid=LIB         build contrib/uuid-ossp using LIB (bsd,e2fs,ossp)
+#  --with-ossp-uuid        obsolete spelling of --with-uuid=ossp
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+HOST_POSTGRESQL_MAKE_ENV       := \
+       MAKELEVEL=0
+
+# vim: syntax=make
-- 
2.23.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to