[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26076: [PATCH] gnu: Add zlib-minizip.
From: |
Marius Bakke |
Subject: |
bug#26076: [PATCH] gnu: Add zlib-minizip. |
Date: |
Sun, 12 Mar 2017 19:37:36 +0100 |
* gnu/packages/compression.scm (zlib-minizip): New variable.
---
gnu/packages/compression.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 88f8f0d84..393871e09 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 zlib-minizip
+ (package
+ (name "zlib-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")
--
2.12.0
- bug#26076: [PATCH] gnu: Add zlib-minizip.,
Marius Bakke <=