2018-12-09 19:51:58 +01:00
|
|
|
# $NetBSD: Makefile,v 1.7 2018/12/09 18:52:45 adam Exp $
|
2018-01-31 10:14:55 +01:00
|
|
|
|
|
|
|
PKGNAME= qca2-qt5-ossl-${DISTNAME:C/.*-//}
|
2018-12-09 19:51:58 +01:00
|
|
|
PKGREVISION= 5
|
2018-01-31 10:14:55 +01:00
|
|
|
|
|
|
|
COMMENT= Cross-platform crypto API for QT5 - OpenSSL plugin
|
|
|
|
|
|
|
|
.include "../../security/qca2/Makefile.common"
|
|
|
|
|
|
|
|
BUILD_DIRS= plugins/qca-ossl
|
|
|
|
|
|
|
|
CMAKE_ARGS+= -DBUILD_PLUGINS=ossl
|
|
|
|
CMAKE_ARGS+= -DBUILD_TOOLS=OFF
|
|
|
|
CMAKE_ARGS+= -DINST_QCA_LIB_NAME=-lqca-qt5
|
|
|
|
|
|
|
|
SUBST_CLASSES+= libname
|
2018-07-04 15:40:07 +02:00
|
|
|
SUBST_STAGE.libname= pre-configure
|
2018-01-31 10:14:55 +01:00
|
|
|
SUBST_MESSAGE.libname= Use installed lib.
|
|
|
|
SUBST_FILES.libname= plugins/qca-ossl/CMakeLists.txt
|
|
|
|
SUBST_SED.libname= -e 's:{QCA_LIB_NAME}:{INST_QCA_LIB_NAME}:'
|
|
|
|
|
|
|
|
.include "../../security/qca2-qt5/buildlink3.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|