From 7a4b108aea2740897048b181ce59b513f12ac18b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Sat, 29 Feb 2020 21:21:16 +0000 Subject: /251.native_packages_lib.group:libzip:${PKG_DEPENDS}: adds gnutls and libnettle (via midipix.) vars/libzip.vars: provide {gnutls,libnettle} defines (via midipix.) --- vars/libzip.vars | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'vars') diff --git a/vars/libzip.vars b/vars/libzip.vars index 3c354121..43478f95 100644 --- a/vars/libzip.vars +++ b/vars/libzip.vars @@ -23,14 +23,18 @@ pkg_libzip_configure() { -DCMAKE_INSTALL_PREFIX= \ -DCMAKE_RANLIB="${PREFIX}/bin/${PKG_RANLIB}" \ -DCMAKE_SYSTEM_NAME="Midipix" \ - -DENABLE_GNUTLS=:BOOL=OFF \ + -DENABLE_GNUTLS=:BOOL=ON \ -DENABLE_MBEDTLS=:BOOL=OFF \ + -DGNUTLS_INCLUDE_DIR="${PKG_PREFIX}/include" \ + -DGNUTLS_LIBRARY="${PKG_PREFIX}/lib/libgnutls.lib.a" \ + -DLIBLZMA_INCLUDE_DIR="${PKG_PREFIX}/include" \ + -DLIBLZMA_LIBRARY="${PKG_PREFIX}/lib/liblzma.lib.a" \ + -DNETTLE_INCLUDE_DIR="${PKG_PREFIX}/include" \ + -DNETTLE_LIBRARY="${PKG_PREFIX}/lib/libnettle.lib.a" \ -DOPENSSL_CRYPTO_LIBRARY="${PKG_PREFIX}/lib/libcrypto.lib.a" \ -DOPENSSL_SSL_LIBRARY="${PKG_PREFIX}/lib/libssl.lib.a" \ -DZLIB_INCLUDE_DIR="${PKG_PREFIX}/include" \ -DZLIB_LIBRARY="${PKG_PREFIX}/lib/libz.a" \ - -DLIBLZMA_INCLUDE_DIR="${PKG_PREFIX}/include" \ - -DLIBLZMA_LIBRARY="${PKG_PREFIX}/lib/liblzma.lib.a" \ "../libzip-${PKG_VERSION}"; }; -- cgit v1.2.3