aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2016-10-13 12:35:30 +0100
committerMarius Bakke <mbakke@fastmail.com>2017-03-13 19:16:19 +0100
commit8298df96ac3ede22e5a268636a3b782013781f89 (patch)
tree21be8df69d7c9a7bd3c9850e0fbc701697d59bb7
parentdd8ecb386c5995f6574b443c50b3d89dca27ada8 (diff)
downloadpatches-8298df96ac3ede22e5a268636a3b782013781f89.tar
patches-8298df96ac3ede22e5a268636a3b782013781f89.tar.gz
gnu: Add minizip.
* gnu/packages/compression.scm (minizip): New variable.
-rw-r--r--gnu/packages/compression.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 88f8f0d84e..ef176c630d 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -97,6 +97,33 @@ independent of the input data and can be reduced, if necessary, at some cost
in compression.")
(license license:zlib)))
+(define-public minizip
+ (package
+ (name "minizip")
+ (version (package-version zlib))
+ (source (package-source zlib))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'enter-source
+ (lambda _ (chdir "contrib/minizip") #t))
+ (add-before 'configure 'autoreconf
+ (lambda _
+ (zero? (system* "autoreconf" "-vif")))))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)))
+ (propagated-inputs `(("zlib" ,zlib)))
+ (home-page (package-home-page zlib))
+ (synopsis "Zip Compression library")
+ (description
+ "Minizip is a minimalistic library that supports compressing,
+extracting and viewing ZIP archives. This version is extracted from
+the @code{zlib} source.")
+ (license (package-license zlib))))
+
(define-public fastjar
(package
(name "fastjar")