summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-29 21:21:16 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-29 21:21:16 +0000
commit7a4b108aea2740897048b181ce59b513f12ac18b (patch)
tree2d991f86b1c7dde1f2ec867a29c3c39fbfcdf344 /vars
parent652788400072c6d373ffd483a884b1db4126b6ba (diff)
downloadmidipix_build-7a4b108aea2740897048b181ce59b513f12ac18b.tar.bz2
midipix_build-7a4b108aea2740897048b181ce59b513f12ac18b.tar.xz
/251.native_packages_lib.group:libzip:${PKG_DEPENDS}: adds gnutls and libnettle (via midipix.)
vars/libzip.vars: provide {gnutls,libnettle} defines (via midipix.)
Diffstat (limited to 'vars')
-rw-r--r--vars/libzip.vars10
1 files changed, 7 insertions, 3 deletions
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}";
};