source "package/gdbm/Config.in"
source "package/kompexsqlite/Config.in"
source "package/leveldb/Config.in"
+ source "package/libpqxx/Config.in"
source "package/mongodb/Config.in"
source "package/mysql/Config.in"
source "package/postgresql/Config.in"
--- /dev/null
+config BR2_PACKAGE_LIBPQXX
+ bool "libpqxx"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_PACKAGE_POSTGRESQL
+ help
+ libpqxx is the official C++ client API for PostgreSQL, the
+ enterprise-strength open-source relational database.
+
+ http://pqxx.org/development/libpqxx/
+
+comment "libpqxx needs toolchain w/ C++ support"
+ depends on !BR2_INSTALL_LIBSTDCPP
+ depends on BR2_PACKAGE_POSTGRESQL
--- /dev/null
+# From: http://pqxx.org/download/software/libpqxx/libpqxx-4.0.1.tar.gz.md5sum
+md5 6ea888b9ba85dd7cef1b182dc5f223a2 libpqxx-4.0.1.tar.gz
+# Locally computed after verifying md5sum:
+sha256 097ceda2797761ce517faa5bee186c883df1c407cb2aada613a16773afeedc38 libpqxx-4.0.1.tar.gz
--- /dev/null
+################################################################################
+#
+# libpqxx
+#
+################################################################################
+
+LIBPQXX_VERSION = 4.0.1
+LIBPQXX_SITE = http://pqxx.org/download/software/libpqxx
+LIBPQXX_INSTALL_STAGING = YES
+LIBPQXX_DEPENDENCIES = postgresql
+LIBPQXX_LICENSE = BSD-3c
+LIBPQXX_LICENSE_FILES = COPYING
+
+LIBPQXX_CONF_ENV += ac_cv_path_PG_CONFIG=$(STAGING_DIR)/usr/bin/pg_config
+
+$(eval $(autotools-package))