pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel New package for libdeflate-1.10, from wip



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e643a4d50ff6
branches:  trunk
changeset: 376212:e643a4d50ff6
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Apr 03 16:11:01 2022 +0000

description:
New package for libdeflate-1.10, from wip

libdeflate is a library for fast, whole-buffer DEFLATE-based compression and
decompression.

The supported formats are:

- DEFLATE (raw)
- zlib (a.k.a. DEFLATE with a zlib wrapper)
- gzip (a.k.a. DEFLATE with a gzip wrapper)

libdeflate is heavily optimized.  It is significantly faster than the zlib
library, both for compression and decompression, and especially on x86
processors.  In addition, libdeflate provides optional high compression modes
that provide a better compression ratio than the zlib's "level 9".

libdeflate itself is a library, but the following command-line programs which
use this library are also provided:

* gzip (or gunzip), a program which mostly behaves like the standard equivalent,
  except that it does not yet have good streaming support and therefore does not
  yet support very large files
* benchmark, a program for benchmarking in-memory compression and decompression

diffstat:

 devel/Makefile            |   3 ++-
 devel/libdeflate/DESCR    |  21 +++++++++++++++++++++
 devel/libdeflate/Makefile |  18 ++++++++++++++++++
 devel/libdeflate/PLIST    |   8 ++++++++
 devel/libdeflate/distinfo |   5 +++++
 5 files changed, 54 insertions(+), 1 deletions(-)

diffs (85 lines):

diff -r d555d594dd4f -r e643a4d50ff6 devel/Makefile
--- a/devel/Makefile    Sun Apr 03 16:01:44 2022 +0000
+++ b/devel/Makefile    Sun Apr 03 16:11:01 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3706 2022/04/03 08:37:23 taca Exp $
+# $NetBSD: Makefile,v 1.3707 2022/04/03 16:11:01 bsiegert Exp $
 #
 
 COMMENT=       Development utilities
@@ -825,6 +825,7 @@
 SUBDIR+=       libdbusmenu-qt
 SUBDIR+=       libdbusmenu-qt5
 SUBDIR+=       libdbusmenu-tools
+SUBDIR+=       libdeflate
 SUBDIR+=       libdevq
 SUBDIR+=       libdivsufsort
 SUBDIR+=       libdnsres
diff -r d555d594dd4f -r e643a4d50ff6 devel/libdeflate/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdeflate/DESCR    Sun Apr 03 16:11:01 2022 +0000
@@ -0,0 +1,21 @@
+libdeflate is a library for fast, whole-buffer DEFLATE-based compression and
+decompression.
+
+The supported formats are:
+
+- DEFLATE (raw)
+- zlib (a.k.a. DEFLATE with a zlib wrapper)
+- gzip (a.k.a. DEFLATE with a gzip wrapper)
+
+libdeflate is heavily optimized.  It is significantly faster than the zlib
+library, both for compression and decompression, and especially on x86
+processors.  In addition, libdeflate provides optional high compression modes
+that provide a better compression ratio than the zlib's "level 9".
+
+libdeflate itself is a library, but the following command-line programs which
+use this library are also provided:
+
+* gzip (or gunzip), a program which mostly behaves like the standard equivalent,
+  except that it does not yet have good streaming support and therefore does not
+  yet support very large files
+* benchmark, a program for benchmarking in-memory compression and decompression
diff -r d555d594dd4f -r e643a4d50ff6 devel/libdeflate/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdeflate/Makefile Sun Apr 03 16:11:01 2022 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2022/04/03 16:11:01 bsiegert Exp $
+
+DISTNAME=      libdeflate-1.10
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ebiggers/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    bsiegert%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ebiggers/libdeflate/
+COMMENT=       Optimized deflate/zlib/gzip library
+LICENSE=       mit
+
+USE_TOOLS+=    pkg-config
+USE_TOOLS+=    gmake
+
+PKGCONFIG_OVERRIDE+=   libdeflate.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff -r d555d594dd4f -r e643a4d50ff6 devel/libdeflate/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdeflate/PLIST    Sun Apr 03 16:11:01 2022 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2022/04/03 16:11:01 bsiegert Exp $
+bin/libdeflate-gunzip
+bin/libdeflate-gzip
+include/libdeflate.h
+lib/libdeflate.a
+lib/libdeflate.so
+lib/libdeflate.so.0
+lib/pkgconfig/libdeflate.pc
diff -r d555d594dd4f -r e643a4d50ff6 devel/libdeflate/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libdeflate/distinfo Sun Apr 03 16:11:01 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/04/03 16:11:01 bsiegert Exp $
+
+BLAKE2s (libdeflate-1.10.tar.gz) = 5c10771369adabd3ad7c64777a8245cb9892c54b7bec091cde34f71cb6d8010b
+SHA512 (libdeflate-1.10.tar.gz) = 2b59cc170c7fb3bb13bd3c6853070ea24fb9e6844dde4d08e43a8a5f8745ecbf844952390ff758070c6fc4f17d9eec8c4d2a729922bf84e2eaa9e74f1424e241
+Size (libdeflate-1.10.tar.gz) = 158379 bytes



Home | Main Index | Thread Index | Old Index