openbsd-ports/security/libssh/Makefile
kn 814ef024bd Disable useless examples
Not packaged and not used in tests (31 out of 32 still pass on amd64),
but 59 less .c files to compile.

No WANTLIB, dynamix export or PLIST changes.
OK jca
2023-01-11 21:35:20 +00:00

32 lines
580 B
Makefile

COMMENT = C library implementing server and client side SSH
V = 0.10.4
DISTNAME = libssh-${V}
SHARED_LIBS += ssh 4.2 # 4.8
CATEGORIES = security devel
HOMEPAGE = https://www.libssh.org/
MASTER_SITES = https://www.libssh.org/files/${V:R}/
EXTRACT_SUFX = .tar.xz
# LGPL v2.1
PERMIT_PACKAGE = Yes
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
WANTLIB += crypto z
MODULES = devel/cmake
WRKBUILD = ${WRKDIST}/build
BUILD_DEPENDS = devel/cmocka \
devel/argp-standalone
CONFIGURE_ARGS += -DUNIT_TESTING=ON \
-DWITH_EXAMPLES=OFF
.include <bsd.port.mk>