Blame groups.d/251.native_packages_lib.d/libz.package

b2c1ea
: ${PKG_LIBZ_SHA256SUM:=abcc2831b7a0e891d0875fa852e9b9510b420d843d3d20aad010f65493fe4f7b};
b2c1ea
: ${PKG_LIBZ_VERSION:=1.2.8.2015.12.26};
b2c1ea
: ${PKG_LIBZ_URL:=https://sortix.org/libz/release/libz-${PKG_LIBZ_VERSION}.tar.gz};
b2c1ea
: ${PKG_LIBZ_CONFIG_CACHE_LOCAL:="${CONFIG_CACHE_GNULIB}"};
b2c1ea
: ${PKG_LIBZ_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET} --enable-shared"};
b2c1ea
: ${PKG_LIBZ_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
b2c1ea
: ${PKG_LIBZIP_DEPENDS:="bzip2 gnutls libz musl_fts nettle"};
b2c1ea
: ${PKG_LIBZIP_SHA256SUM:=a020dc1b17a79faa748e43a05f8605d65e403813e8e97ad3a300a90ddba097ac};
b2c1ea
: ${PKG_LIBZIP_VERSION:=1.7.1};
b2c1ea
: ${PKG_LIBZIP_URL:=https://libzip.org/download/libzip-${PKG_LIBZIP_VERSION}.tar.xz};
b2c1ea
: ${PKG_LIBZIP_CMAKE_ARGS_EXTRA:="
b2c1ea
	-DBZIP2_INCLUDE_DIR=${PREFIX_NATIVE}/include
b2c1ea
	-DBZIP2_LIBRARIES=${PREFIX_NATIVE}/lib/libbz2.lib.a
b2c1ea
	-DENABLE_GNUTLS=:BOOL=ON
b2c1ea
	-DENABLE_MBEDTLS=:BOOL=OFF
b2c1ea
	-DGNUTLS_INCLUDE_DIR=${PREFIX_NATIVE}/include
b2c1ea
	-DGNUTLS_LIBRARY=${PREFIX_NATIVE}/lib/libgnutls.lib.a
b2c1ea
	-DLIBLZMA_INCLUDE_DIR=${PREFIX_NATIVE}/include
b2c1ea
	-DLIBLZMA_LIBRARY=${PREFIX_NATIVE}/lib/liblzma.lib.a
b2c1ea
	-DNETTLE_INCLUDE_DIR=${PREFIX_NATIVE}/include
b2c1ea
	-DNETTLE_LIBRARY=${PREFIX_NATIVE}/lib/libnettle.lib.a
b2c1ea
	-DOPENSSL_CRYPTO_LIBRARY=${PREFIX_NATIVE}/lib/libcrypto.lib.a
b2c1ea
	-DOPENSSL_SSL_LIBRARY=${PREFIX_NATIVE}/lib/libssl.lib.a
b2c1ea
	-DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
b2c1ea
	-DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.a"};
b2c1ea
b2c1ea
ex_pkg_register "libz" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
b2c1ea
b2c1ea
# vim:filetype=sh textwidth=0