diff options
author | szptvlfn <szptvlfn@pkgsrc.org> | 2014-08-12 21:22:13 +0000 |
---|---|---|
committer | szptvlfn <szptvlfn@pkgsrc.org> | 2014-08-12 21:22:13 +0000 |
commit | de56446074591f1954bad000907d52ad71cd9965 (patch) | |
tree | bb5e392f374dd017570ace6b63a7b39e7d7d0829 | |
parent | a7a17cf150ad1a1dccd2bb95f3128aa7c958e4ae (diff) | |
download | pkgsrc-de56446074591f1954bad000907d52ad71cd9965.tar.gz |
Import zlib-0.5.4.1 as archivers/hs-zlib,
packaged for wip by pho.
This package provides a pure interface for compressing and decompressing
streams of data represented as lazy ByteStrings. It uses the zlib C library
so it has high performance. It supports the "zlib", "gzip" and "raw"
compression formats.
It provides a convenient high level API suitable for most tasks and for the
few cases where more control is needed it provides access to the full zlib
feature set.
-rw-r--r-- | archivers/hs-zlib/DESCR | 8 | ||||
-rw-r--r-- | archivers/hs-zlib/Makefile | 12 | ||||
-rw-r--r-- | archivers/hs-zlib/PLIST | 29 | ||||
-rw-r--r-- | archivers/hs-zlib/buildlink3.mk | 14 | ||||
-rw-r--r-- | archivers/hs-zlib/distinfo | 5 |
5 files changed, 68 insertions, 0 deletions
diff --git a/archivers/hs-zlib/DESCR b/archivers/hs-zlib/DESCR new file mode 100644 index 00000000000..fece00f5650 --- /dev/null +++ b/archivers/hs-zlib/DESCR @@ -0,0 +1,8 @@ +This package provides a pure interface for compressing and decompressing +streams of data represented as lazy ByteStrings. It uses the zlib C library +so it has high performance. It supports the "zlib", "gzip" and "raw" +compression formats. + +It provides a convenient high level API suitable for most tasks and for the +few cases where more control is needed it provides access to the full zlib +feature set. diff --git a/archivers/hs-zlib/Makefile b/archivers/hs-zlib/Makefile new file mode 100644 index 00000000000..7770a68df64 --- /dev/null +++ b/archivers/hs-zlib/Makefile @@ -0,0 +1,12 @@ +# $NetBSD: Makefile,v 1.1 2014/08/12 21:22:13 szptvlfn Exp $ + +DISTNAME= zlib-0.5.4.1 +CATEGORIES= archivers + +MAINTAINER= pho@cielonegro.org +COMMENT= Compression and decompression in the gzip and zlib formats +LICENSE= modified-bsd + +.include "../../mk/haskell.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/archivers/hs-zlib/PLIST b/archivers/hs-zlib/PLIST new file mode 100644 index 00000000000..b9a0e1d6a17 --- /dev/null +++ b/archivers/hs-zlib/PLIST @@ -0,0 +1,29 @@ +@comment $NetBSD: PLIST,v 1.1 2014/08/12 21:22:13 szptvlfn Exp $ +lib/zlib-${PKGVERSION}/${HASKELL_VERSION}/Codec/Compression/GZip.hi +lib/zlib-${PKGVERSION}/${HASKELL_VERSION}/Codec/Compression/Zlib.hi +lib/zlib-${PKGVERSION}/${HASKELL_VERSION}/Codec/Compression/Zlib/Internal.hi +lib/zlib-${PKGVERSION}/${HASKELL_VERSION}/Codec/Compression/Zlib/Raw.hi +lib/zlib-${PKGVERSION}/${HASKELL_VERSION}/Codec/Compression/Zlib/Stream.hi +lib/zlib-${PKGVERSION}/${HASKELL_VERSION}/HSzlib-${PKGVERSION}.o +lib/zlib-${PKGVERSION}/${HASKELL_VERSION}/libHSzlib-${PKGVERSION}.a +lib/zlib-${PKGVERSION}/${HASKELL_VERSION}/package-description +share/doc/zlib-${PKGVERSION}/LICENSE +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/Codec-Compression-GZip.html +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/Codec-Compression-Zlib-Internal.html +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/Codec-Compression-Zlib-Raw.html +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/Codec-Compression-Zlib.html +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/doc-index.html +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/frames.html +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/haddock-util.js +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/hslogo-16.png +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/index-frames.html +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/index.html +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/mini_Codec-Compression-GZip.html +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/mini_Codec-Compression-Zlib-Internal.html +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/mini_Codec-Compression-Zlib-Raw.html +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/mini_Codec-Compression-Zlib.html +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/minus.gif +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/ocean.css +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/plus.gif +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/synopsis.png +${PLIST.doc}share/doc/zlib-${PKGVERSION}/html/zlib.haddock diff --git a/archivers/hs-zlib/buildlink3.mk b/archivers/hs-zlib/buildlink3.mk new file mode 100644 index 00000000000..d4498b99d4d --- /dev/null +++ b/archivers/hs-zlib/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/08/12 21:22:13 szptvlfn Exp $ + +BUILDLINK_TREE+= hs-zlib + +.if !defined(HS_ZLIB_BUILDLINK3_MK) +HS_ZLIB_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.hs-zlib+= hs-zlib>=0.5.4 +BUILDLINK_PKGSRCDIR.hs-zlib?= ../../archivers/hs-zlib + +.include "../../devel/zlib/buildlink3.mk" +.endif # HS_ZLIB_BUILDLINK3_MK + +BUILDLINK_TREE+= -hs-zlib diff --git a/archivers/hs-zlib/distinfo b/archivers/hs-zlib/distinfo new file mode 100644 index 00000000000..cd251d2803b --- /dev/null +++ b/archivers/hs-zlib/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/08/12 21:22:13 szptvlfn Exp $ + +SHA1 (zlib-0.5.4.1.tar.gz) = ac9b93c09801df507091eece3913d2102dbeabaf +RMD160 (zlib-0.5.4.1.tar.gz) = 9ed49e79e239604958a9c385cca75747fafc2713 +Size (zlib-0.5.4.1.tar.gz) = 127760 bytes |