libpqxx: new package

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
James Knight 2016-07-28 17:44:58 -04:00 committed by Thomas Petazzoni
parent 095153bf76
commit 261ba28c43
4 changed files with 34 additions and 0 deletions

View file

@ -899,6 +899,7 @@ menu "Database"
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"

13
package/libpqxx/Config.in Normal file
View file

@ -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

View file

@ -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

View file

@ -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))