add libpq and libpqxx libraries
Signed-off-by: Alexy Gallardo Segura <alexy@uclv.cu>
This commit is contained in:
committed by
Norman Feske
parent
fc098be1af
commit
d23f6adcb8
1
ports/libpqxx.hash
Normal file
1
ports/libpqxx.hash
Normal file
@@ -0,0 +1 @@
|
||||
4afa55b38245fac4a785873611092996cdea8908
|
||||
19
ports/libpqxx.port
Normal file
19
ports/libpqxx.port
Normal 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
1
ports/pgsql.hash
Normal file
@@ -0,0 +1 @@
|
||||
ddf722d67c2465c5e11e29674b00e68daf958c3f
|
||||
7
ports/pgsql.port
Normal file
7
ports/pgsql.port
Normal 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
|
||||
Reference in New Issue
Block a user