harbour-pgsql
Declared Dependencies
Probed Makefile variables (Linux zig 64-bit)
| Variable (in eval order) | Evaluated setting |
PATH | /bin |
PKGNAME | harbour-pgsql |
PKGVER | 3.2.0dev |
PKGBLD | +pq |
PKGAKA | hbpgsql sddpg |
DEPENDS | harbour-core libpq |
_DETPLAT_STR | Linux |
MACHINE | x86_64 |
HB_ZIG_TARGET | x86_64-linux-musl |
PACKAGE | /harbour-pgsql-3.2.0dev+pq.hbpk |
WORKDIR | ../harbour-contribs/tree |
SOURCES | master.tar.gz |
SRCURL | https://github.com/harbour/core/archive/refs/heads |
HB_CPU | x86_64 |
HBMK | hbmk2 |
PROVIDES | harbour-pgsql |
Probed Makefile variables (Windows zig 64-bit)
| Variable (in eval order) | Evaluated setting |
PATH | /bin:/usr/share/zig |
MSYSTEM | MINGW64 |
PKGNAME | harbour-pgsql |
PKGVER | 3.2.0dev |
PKGBLD | +pq |
PKGAKA | hbpgsql sddpg |
DEPENDS | harbour-core libpq |
_DETPLAT_STR | Msys |
HBPK_CC_FAMILY | CC=clang CXX=clang++ |
MACHINE | x86_64 |
HB_ZIG_TARGET | x86_64-windows-gnu |
HBPK_VCPKG_TARGET | x64-windows |
PACKAGE | /harbour-pgsql-3.2.0dev+pq.hbpk |
WORKDIR | ../harbour-contribs/tree |
SOURCES | master.tar.gz |
SRCURL | https://github.com/harbour/core/archive/refs/heads |
HB_CPU | x86_64 |
_EXT | .exe |
HBMK | hbmk2 |
PROVIDES | harbour-pgsql |
Makefile Header Source
PKGNAME = harbour-pgsql
PKGVER = 3.2.0dev
PKGBLD = +pq$(shell hbpk-ls -l | grep libpq | sed -n 's/^libpq[[:space:]]\+\([0-9]\+\)\..*/\1/p')
PKGAKA = hbpgsql sddpg
DEPENDS = harbour-core libpq
TOPDIR = ../..
include $(TOPDIR)/common.mk
include $(TOPDIR)/pmgr.mk
WORKDIR = ../harbour-contribs/tree
SOURCES = master.tar.gz
SRCURL = https://github.com/harbour/core/archive/refs/heads
include $(TOPDIR)/hbarch.mk
ifeq (,$(wildcard ../harbour-contribs/tree/contrib/.))
_CONTRIB_EXTRACT := std-extract
_CONTRIB_MV := rm -f $(WORKDIR) && mv core-master $(WORKDIR)
endif
include $(TOPDIR)/hbinfo.mk
do-fetch: std-fetch
do-extract: $(_CONTRIB_EXTRACT)
$(_CONTRIB_MV)
do-patch: #fix-configure
do-config:
do-build:
cd $(WORKDIR)/contrib/hbpgsql && \
HB_WITH_PGSQL=$(PKGDEST)/include $(HBMK) hbpgsql.hbp && \
cd ../sddpg && \
HB_WITH_PGSQL=$(PKGDEST)/include $(HBMK) sddpg.hbp -I../rddsql
do-pkginst:
mkdir -p dest/harbour/lib/$(HBPK_PLATFORM)/$(HBPK_COMPILER) && mkdir -p dest/lib && \
mkdir -p dest/harbour/contrib/hbpgsql && \
mkdir -p dest/harbour/contrib/sddpg
cp -r $(WORKDIR)/contrib/hbpgsql/* dest/harbour/contrib/hbpgsql && \
cp -r $(WORKDIR)/contrib/sddpg/* dest/harbour/contrib/sddpg && \
cp $(WORKDIR)/contrib/hbpgsql/*.a dest/harbour/lib/$(HBPK_PLATFORM)/$(HBPK_COMPILER) && cp $(WORKDIR)/contrib/hbpgsql/*.a dest/lib/ && \
cp $(WORKDIR)/contrib/sddpg/*.a dest/harbour/lib/$(HBPK_PLATFORM)/$(HBPK_COMPILER) && cp $(WORKDIR)/contrib/sddpg/*.a dest/lib/