harbour-curl
Declared Dependencies
Probed Makefile variables (Linux zig 64-bit)
| Variable (in eval order) | Evaluated setting |
PATH | /bin |
PKGNAME | harbour-curl |
PKGVER | 3.2.0dev |
PKGAKA | hbcurl |
DEPENDS | harbour-core curl |
_DETPLAT_STR | Linux |
MACHINE | x86_64 |
HB_ZIG_TARGET | x86_64-linux-musl |
PACKAGE | /harbour-curl-3.2.0dev.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-curl |
Probed Makefile variables (Windows zig 64-bit)
| Variable (in eval order) | Evaluated setting |
PATH | /bin:/usr/share/zig |
MSYSTEM | MINGW64 |
PKGNAME | harbour-curl |
PKGVER | 3.2.0dev |
PKGAKA | hbcurl |
DEPENDS | harbour-core curl |
_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-curl-3.2.0dev.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-curl |
Makefile Header Source
PKGNAME = harbour-curl
PKGVER = 3.2.0dev
PKGAKA = hbcurl
#PKGBLD =
DEPENDS = harbour-core curl
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
ifeq ($(HBPK_PLATFORM),win)
HB_WITH_CURL := $(PKGDEST)/include
export HB_WITH_CURL
#else
# on other platforms check if curl package is installed locally under "hbpk"
endif
do-fetch: std-fetch
do-extract: $(_CONTRIB_EXTRACT)
$(_CONTRIB_MV)
do-patch: #fix-configure
do-config:
do-build:
cd $(WORKDIR)/contrib/hbcurl && \
$(HBMK) hbcurl.hbp
do-pkginst:
mkdir -p dest/harbour/lib/$(HBPK_PLATFORM)/$(HBPK_COMPILER) && mkdir -p dest/lib && \
mkdir -p dest/harbour/contrib/hbcurl
cp -r $(WORKDIR)/contrib/hbcurl/* dest/harbour/contrib/hbcurl && \
cp $(WORKDIR)/contrib/hbcurl/*.a dest/harbour/lib/$(HBPK_PLATFORM)/$(HBPK_COMPILER) && cp $(WORKDIR)/contrib/hbcurl/*.a dest/lib/