diff options
author | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2024-04-24 19:25:54 +0200 |
---|---|---|
committer | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2024-04-24 19:25:54 +0200 |
commit | 27aaff853afa19186230d095442cf5c5a569ea7f (patch) | |
tree | 1b1bb3e8d59d2edb4f0994deda65e31216102954 | |
parent | db98edc8503f13d575066b6c292438ce116fddd9 (diff) | |
download | midipix_build-27aaff853afa19186230d095442cf5c5a569ea7f.tar.bz2 midipix_build-27aaff853afa19186230d095442cf5c5a569ea7f.tar.xz |
groups.d/251.native_packages_lib.d/libz{,zip}.package: split separate packages.
-rw-r--r-- | groups.d/251.native_packages_lib.d/libz.package | 19 | ||||
-rw-r--r-- | groups.d/251.native_packages_lib.d/libzip.package | 23 |
2 files changed, 23 insertions, 19 deletions
diff --git a/groups.d/251.native_packages_lib.d/libz.package b/groups.d/251.native_packages_lib.d/libz.package index 040f3417..a8ea2280 100644 --- a/groups.d/251.native_packages_lib.d/libz.package +++ b/groups.d/251.native_packages_lib.d/libz.package @@ -4,25 +4,6 @@ : ${PKG_LIBZ_CONFIG_CACHE_LOCAL:="${CONFIG_CACHE_GNULIB}"}; : ${PKG_LIBZ_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET} --enable-shared"}; : ${PKG_LIBZ_MAKEFLAGS_INSTALL:="PREFIX= prefix="}; -: ${PKG_LIBZIP_DEPENDS:="bzip2 gnutls libz musl_fts nettle"}; -: ${PKG_LIBZIP_SHA256SUM:=a020dc1b17a79faa748e43a05f8605d65e403813e8e97ad3a300a90ddba097ac}; -: ${PKG_LIBZIP_VERSION:=1.7.1}; -: ${PKG_LIBZIP_URL:=https://libzip.org/download/libzip-${PKG_LIBZIP_VERSION}.tar.xz}; -: ${PKG_LIBZIP_CMAKE_ARGS_EXTRA:=" - -DBZIP2_INCLUDE_DIR=${PREFIX_NATIVE}/include - -DBZIP2_LIBRARIES=${PREFIX_NATIVE}/lib/libbz2.lib.a - -DENABLE_GNUTLS=:BOOL=ON - -DENABLE_MBEDTLS=:BOOL=OFF - -DGNUTLS_INCLUDE_DIR=${PREFIX_NATIVE}/include - -DGNUTLS_LIBRARY=${PREFIX_NATIVE}/lib/libgnutls.lib.a - -DLIBLZMA_INCLUDE_DIR=${PREFIX_NATIVE}/include - -DLIBLZMA_LIBRARY=${PREFIX_NATIVE}/lib/liblzma.lib.a - -DNETTLE_INCLUDE_DIR=${PREFIX_NATIVE}/include - -DNETTLE_LIBRARY=${PREFIX_NATIVE}/lib/libnettle.lib.a - -DOPENSSL_CRYPTO_LIBRARY=${PREFIX_NATIVE}/lib/libcrypto.lib.a - -DOPENSSL_SSL_LIBRARY=${PREFIX_NATIVE}/lib/libssl.lib.a - -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include - -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.a"}; ex_pkg_register "libz" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages"; diff --git a/groups.d/251.native_packages_lib.d/libzip.package b/groups.d/251.native_packages_lib.d/libzip.package new file mode 100644 index 00000000..57da5988 --- /dev/null +++ b/groups.d/251.native_packages_lib.d/libzip.package @@ -0,0 +1,23 @@ +: ${PKG_LIBZIP_DEPENDS:="bzip2 gnutls libz musl_fts nettle"}; +: ${PKG_LIBZIP_SHA256SUM:=a020dc1b17a79faa748e43a05f8605d65e403813e8e97ad3a300a90ddba097ac}; +: ${PKG_LIBZIP_VERSION:=1.7.1}; +: ${PKG_LIBZIP_URL:=https://libzip.org/download/libzip-${PKG_LIBZIP_VERSION}.tar.xz}; +: ${PKG_LIBZIP_CMAKE_ARGS_EXTRA:=" + -DBZIP2_INCLUDE_DIR=${PREFIX_NATIVE}/include + -DBZIP2_LIBRARIES=${PREFIX_NATIVE}/lib/libbz2.lib.a + -DENABLE_GNUTLS=:BOOL=ON + -DENABLE_MBEDTLS=:BOOL=OFF + -DGNUTLS_INCLUDE_DIR=${PREFIX_NATIVE}/include + -DGNUTLS_LIBRARY=${PREFIX_NATIVE}/lib/libgnutls.lib.a + -DLIBLZMA_INCLUDE_DIR=${PREFIX_NATIVE}/include + -DLIBLZMA_LIBRARY=${PREFIX_NATIVE}/lib/liblzma.lib.a + -DNETTLE_INCLUDE_DIR=${PREFIX_NATIVE}/include + -DNETTLE_LIBRARY=${PREFIX_NATIVE}/lib/libnettle.lib.a + -DOPENSSL_CRYPTO_LIBRARY=${PREFIX_NATIVE}/lib/libcrypto.lib.a + -DOPENSSL_SSL_LIBRARY=${PREFIX_NATIVE}/lib/libssl.lib.a + -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include + -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.a"}; + +ex_pkg_register "libzip" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages"; + +# vim:filetype=sh textwidth=0 |