summaryrefslogtreecommitdiffstats
path: root/package/libpqxx
diff options
context:
space:
mode:
authorJames Knight <james.knight@rockwellcollins.com>2016-07-28 17:44:58 -0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-30 15:42:30 +0200
commit261ba28c43cdecc543420460daa43c63749184ba (patch)
tree981b50ef2d235305102c74286b89cd7347174459 /package/libpqxx
parent095153bf76c0632d32374838f5ae4f3170a6fcf7 (diff)
downloadbuildroot-261ba28c43cdecc543420460daa43c63749184ba.tar.gz
buildroot-261ba28c43cdecc543420460daa43c63749184ba.zip
libpqxx: new package
Signed-off-by: James Knight <james.knight@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libpqxx')
-rw-r--r--package/libpqxx/Config.in13
-rw-r--r--package/libpqxx/libpqxx.hash4
-rw-r--r--package/libpqxx/libpqxx.mk16
3 files changed, 33 insertions, 0 deletions
diff --git a/package/libpqxx/Config.in b/package/libpqxx/Config.in
new file mode 100644
index 0000000000..ddf14fd6ce
--- /dev/null
+++ b/package/libpqxx/Config.in
@@ -0,0 +1,13 @@
+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
diff --git a/package/libpqxx/libpqxx.hash b/package/libpqxx/libpqxx.hash
new file mode 100644
index 0000000000..65c50c6752
--- /dev/null
+++ b/package/libpqxx/libpqxx.hash
@@ -0,0 +1,4 @@
+# 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
diff --git a/package/libpqxx/libpqxx.mk b/package/libpqxx/libpqxx.mk
new file mode 100644
index 0000000000..058719038e
--- /dev/null
+++ b/package/libpqxx/libpqxx.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# 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))
OpenPOWER on IntegriCloud