hbssh2-alkresin
Declared Dependencies
Probed Makefile variables (Linux zig 64-bit)
| Variable (in eval order) | Evaluated setting |
PATH | /bin |
PKGNAME | hbssh2 |
PKGVER | 0 |
PKGBLD | +alkresin |
DEPENDS | harbour-core libssh2 |
_DETPLAT_STR | Linux |
MACHINE | x86_64 |
HB_ZIG_TARGET | x86_64-linux-musl |
PACKAGE | /hbssh2-0+alkresin.hbpk |
WORKDIR | hbssh2-main |
SOURCES | hbssh2@main.tar.gz |
SRCURL | https://github.com/alkresin/hbssh2/archive/refs/heads |
HB_CPU | x86_64 |
HBMK | hbmk2 |
PROVIDES | hbssh2 |
Probed Makefile variables (Windows zig 64-bit)
| Variable (in eval order) | Evaluated setting |
PATH | /bin:/usr/share/zig |
MSYSTEM | MINGW64 |
PKGNAME | hbssh2 |
PKGVER | 0 |
PKGBLD | +alkresin |
DEPENDS | harbour-core libssh2 |
_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 | /hbssh2-0+alkresin.hbpk |
WORKDIR | hbssh2-main |
SOURCES | hbssh2@main.tar.gz |
SRCURL | https://github.com/alkresin/hbssh2/archive/refs/heads |
HB_CPU | x86_64 |
_EXT | .exe |
HBMK | hbmk2 |
PROVIDES | hbssh2 |
Makefile Header Source
PKGNAME = hbssh2
PKGVER = 0
PKGBLD = +alkresin
DEPENDS = harbour-core libssh2
TOPDIR = ../..
include $(TOPDIR)/common.mk
include $(TOPDIR)/pmgr.mk
WORKDIR = hbssh2-main
SOURCES = hbssh2@main.tar.gz
SRCURL = https://github.com/alkresin/hbssh2/archive/refs/heads
include $(TOPDIR)/hbarch.mk
include $(TOPDIR)/hbinfo.mk
do-fetch: std-fetch
do-extract: std-extract
do-patch: #fix-configure
rm $(WORKDIR)/source/lib*.h
do-config:
do-build:
$(HBMK) -I$(PKGDEST)/include hbssh2.hbp
do-pkginst:
mkdir -p dest/lib && cp lib*.a dest/lib
mkdir -p dest/harbour/contrib/hbssh2
cp -r $(WORKDIR)/* dest/harbour/contrib/hbssh2
rm dest/harbour/contrib/hbssh2/examples_prg/*.dll