blob: a314efc1264c18436a3a86d6177636603216d091 [file] [log] [blame]
Andrew Geissler69721092021-07-23 12:57:00 -04001DESCRIPTION = "libzip is a C library for reading, creating, and modifying zip archives."
2HOMEPAGE = "https://libzip.org/"
3
4LICENSE = "BSD-3-Clause"
Andrew Geissler615f2f12022-07-15 14:00:58 -05005LIC_FILES_CHKSUM = "file://LICENSE;md5=d8a9d2078f35e61cf1122ccd440687cf"
Andrew Geissler69721092021-07-23 12:57:00 -04006
7DEPENDS = "zlib bzip2"
8
9PACKAGECONFIG[ssl] = "-DENABLE_OPENSSL=ON,-DENABLE_OPENSSL=OFF,openssl"
10PACKAGECONFIG[lzma] = "-DENABLE_LZMA=ON,-DENABLE_LZMA=OFF,xz"
11PACKAGECONFIG[gnutls] = "-DENABLE_GNUTLS=ON,-DENABLE_GNUTLS=OFF,gnutls nettle"
12PACKAGECONFIG[zstd] = "-DENABLE_ZSTD=ON,-DENABLE_ZSTD=OFF,zstd"
13PACKAGECONFIG[mbedtls] = "-DENABLE_MBEDTLS=ON,-DENABLE_MBEDTLS=OFF,mbedtls"
14PACKAGECONFIG[examples] = "-DENABLE_EXAMPLES=ON,-DENABLE_EXAMPLES=OFF,"
15PACKAGECONFIG[tools] = "-DENABLE_TOOLS=ON,-DENABLE_TOOLS=OFF,"
16PACKAGECONFIG[tests] = "-DBUILD_REGRESS=ON,-DBUILD_REGRESS=OFF,"
17
18PACKAGECONFIG ?= "ssl lzma tools examples"
19
20inherit cmake
21
22SRC_URI = "https://libzip.org/download/libzip-${PV}.tar.xz"
23
Andrew Geissler5082cc72023-09-11 08:41:39 -040024SRC_URI[sha256sum] = "dc3c8d5b4c8bbd09626864f6bcf93de701540f761d76b85d7c7d710f4bd90318"
Patrick Williamsde0582f2022-04-08 10:23:27 -050025
Patrick Williams2390b1b2022-11-03 13:47:49 -050026BBCLASSEXTEND += "native"