package/zziplib: new package
authorRomain Naour <romain.naour@gmail.com>
Wed, 29 May 2019 15:16:53 +0000 (17:16 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 1 Jun 2019 07:20:19 +0000 (09:20 +0200)
Force the build system to use python2 interpreter.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: add docs/COPYING.MPL docs/copying.htm to the license files.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/zziplib/Config.in [new file with mode: 0644]
package/zziplib/zziplib.hash [new file with mode: 0644]
package/zziplib/zziplib.mk [new file with mode: 0644]

index 66dc2504ffa3d48972e9bf2406794caba0b2913e..29fc91dabb037399698b35f81d39e2115ada05fd 100644 (file)
@@ -1949,6 +1949,7 @@ F:        package/tk/
 F:     package/upower/
 F:     package/waffle/
 F:     package/xenomai/
+F:     package/zziplib/
 F:     toolchain/toolchain-external/toolchain-external-arm-aarch64/
 F:     toolchain/toolchain-external/toolchain-external-arm-aarch64-be/
 F:     toolchain/toolchain-external/toolchain-external-arm-arm/
index 6f1c4593e6b10e939b1cb6af4ea55697613e09c7..f61009410db5a5d154d30657b47f9182488edbcc 100644 (file)
@@ -1189,6 +1189,7 @@ menu "Compression and decompression"
        source "package/snappy/Config.in"
        source "package/szip/Config.in"
        source "package/zlib/Config.in"
+       source "package/zziplib/Config.in"
 endmenu
 
 menu "Crypto"
diff --git a/package/zziplib/Config.in b/package/zziplib/Config.in
new file mode 100644 (file)
index 0000000..6b55572
--- /dev/null
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_ZZIPLIB
+       bool "zziplib"
+       select BR2_PACKAGE_ZLIB
+       help
+         The zziplib provides read access to zipped files in a
+         zip-archive, using compression based solely on free algorithms
+         provided by zlib. It also provides a functionality to overlay
+         the archive filesystem with the filesystem of the operating
+         system environment.
+
+         http://zziplib.sourceforge.net
diff --git a/package/zziplib/zziplib.hash b/package/zziplib/zziplib.hash
new file mode 100644 (file)
index 0000000..1f6b55e
--- /dev/null
@@ -0,0 +1,5 @@
+# sha256 locally computed
+sha256 846246d7cdeee405d8d21e2922c6e97f55f24ecbe3b6dcf5778073a88f120544  zziplib-v0.13.69.tar.gz
+sha256 94b03f1a60a7fd5007149530626a895a6ef5a8b9342abfd56860c5f3956f5d23  docs/COPYING.LIB
+sha256 c2aa7d58cebd24cb877bbf11d6b13a4bb7cd08b9d7db5d3037ca06c46bf4cfd8  docs/COPYING.MPL
+sha256 1c6da11efe8c43ee853fe5b21501dd72b81831ae84d58ea376bddc0620a5c361  docs/copying.htm
diff --git a/package/zziplib/zziplib.mk b/package/zziplib/zziplib.mk
new file mode 100644 (file)
index 0000000..04129fd
--- /dev/null
@@ -0,0 +1,18 @@
+################################################################################
+#
+# zziplib
+#
+################################################################################
+
+ZZIPLIB_VERSION = v0.13.69
+ZZIPLIB_SITE = $(call github,gdraheim,zziplib,$(ZZIPLIB_VERSION))
+ZZIPLIB_LICENSE = LGPL-2.0+ or MPL-1.1
+ZZIPLIB_LICENSE_FILES = docs/COPYING.LIB docs/COPYING.MPL docs/copying.htm
+ZZIPLIB_INSTALL_STAGING = YES
+
+ZZIPLIB_DEPENDENCIES = host-pkgconf host-python zlib
+
+# zziplib is not python3 friendly, so force the python interpreter
+ZZIPLIB_CONF_OPTS = ac_cv_path_PYTHON=$(HOST_DIR)/bin/python2
+
+$(eval $(autotools-package))