summaryrefslogtreecommitdiffstats
path: root/rules/host-postgresql.make
diff options
context:
space:
mode:
authorBjörn Esser <b.esser@pengutronix.de>2019-10-09 10:51:15 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-10-17 12:18:04 +0200
commitbfe976b41321bb1492bd40cdf770fee1be339ec5 (patch)
tree14934b8b2402cbbfd4c0e67d2a6e2f583d8bd595 /rules/host-postgresql.make
parent27382626d4b9ee877b430e8c765682e5dd8b1db7 (diff)
downloadptxdist-bfe976b41321bb1492bd40cdf770fee1be339ec5.tar.gz
ptxdist-bfe976b41321bb1492bd40cdf770fee1be339ec5.tar.xz
host-postgresql: new package
This package is required to build TimescaleDB. Signed-off-by: Björn Esser <b.esser@pengutronix.de> [mol: only build pg_config] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-postgresql.make')
-rw-r--r--rules/host-postgresql.make83
1 files changed, 83 insertions, 0 deletions
diff --git a/rules/host-postgresql.make b/rules/host-postgresql.make
new file mode 100644
index 000000000..c28447837
--- /dev/null
+++ b/rules/host-postgresql.make
@@ -0,0 +1,83 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Bjoern Esser <bes@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 \
+ --without-openssl \
+ --without-selinux \
+ --without-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
+
+HOST_POSTGRESQL_MAKE_OPT := \
+ -C src/bin/pg_config
+
+HOST_POSTGRESQL_INSTALL_OPT := \
+ $(HOST_POSTGRESQL_MAKE_OPT) \
+ install
+
+# vim: syntax=make