guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

24/82: gnu: Add Compress-Raw-Zlib.


From: Eric Bavier
Subject: 24/82: gnu: Add Compress-Raw-Zlib.
Date: Mon, 20 Apr 2015 01:02:32 +0000

bavier pushed a commit to branch master
in repository guix.

commit 8e18514a69f670d8817842a76cfaa3d404b66c3f
Author: Eric Bavier <address@hidden>
Date:   Mon Apr 6 14:50:44 2015 -0500

    gnu: Add Compress-Raw-Zlib.
    
    * gnu/packages/compression.scm (perl-compress-raw-zlib): New variable.
---
 gnu/packages/compression.scm |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 61a94b3..7dc62c7 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -366,3 +366,38 @@ decompression of some loosely related file formats used by 
Microsoft.")
     (description "This module provides a Perl interface to the bzip2
 compression library.")
     (license (package-license perl))))
+
+(define-public perl-compress-raw-zlib
+  (package
+    (name "perl-compress-raw-zlib")
+    (version "2.068")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/"
+                           "Compress-Raw-Zlib-" version ".tar.gz"))
+       (sha256
+        (base32
+         "06q7n87g26nn5gv4z2p31ca32f6zk124hqxc25rfgkjd3qi5798i"))))
+    (build-system perl-build-system)
+    (inputs
+     `(("zlib" ,zlib)))
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (add-before
+                   configure configure-zlib
+                   (lambda* (#:key inputs #:allow-other-keys)
+                     (call-with-output-file "config.in"
+                       (lambda (port)
+                         (format port "
+BUILD_ZLIB = False
+INCLUDE = ~a/include
+LIB = ~:*~a/lib
+OLD_ZLIB = False
+GZIP_OS_CODE = AUTO_DETECT"
+                                 (assoc-ref inputs "zlib")))))))))
+    (home-page "http://search.cpan.org/dist/Compress-Raw-Zlib";)
+    (synopsis "Low-level interface to zlib compression library")
+    (description "This module provides a Perl interface to the zlib
+compression library.")
+    (license (package-license perl))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]