add libpq and libpqxx libraries

Signed-off-by: Alexy Gallardo Segura <alexy@uclv.cu>
This commit is contained in:
Alexy Gallardo Segura
2017-01-23 14:29:29 -05:00
committed by Norman Feske
parent fc098be1af
commit d23f6adcb8
17 changed files with 1711 additions and 0 deletions

1
ports/libpqxx.hash Normal file
View File

@@ -0,0 +1 @@
4afa55b38245fac4a785873611092996cdea8908

19
ports/libpqxx.port Normal file
View File

@@ -0,0 +1,19 @@
LICENSE := CUSTOM
DOWNLOADS := libpqxx.archive
VERSION := 4.0
URL(libpqxx) := http://pqxx.org/download/software/libpqxx/libpqxx-$(VERSION).tar.gz
SHA(libpqxx) := 09e6301e610e7acddbec85f4803886fd6822b2e6
DIR(libpqxx) := src/lib/libpqxx
DIRS := include/pqxx
DIR_CONTENT(include/pqxx) := $(REP_DIR)/include/pqxx/*.h
SRC_FOLDERS := `pwd`$(call select_from_ports,libpqxx)/src/lib/libpqxx/src
rename_files = cd $(SRC_FOLDERS); rename -v -f "s/\.cxx/\.cpp/" *.cxx
default: $(DOWNLOADS)
@$(MSG_GENERATE) Fixing source file extensions
$(VERBOSE)$(call rename_files)

1
ports/pgsql.hash Normal file
View File

@@ -0,0 +1 @@
ddf722d67c2465c5e11e29674b00e68daf958c3f

7
ports/pgsql.port Normal file
View File

@@ -0,0 +1,7 @@
LICENSE := CUSTOM
DOWNLOADS := postgres.archive
VERSION := 9.3.0
URL(postgres) := https://ftp.postgresql.org/pub/source/v9.3.0/postgresql-$(VERSION).tar.bz2
SHA(postgres) := 63a7b8788cd18247d7af5fd4a320abebb0535a44
DIR(postgres) := src/lib/postgres