summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2022-04-03 16:11:01 +0000
committerbsiegert <bsiegert@pkgsrc.org>2022-04-03 16:11:01 +0000
commit7fea2b058db97a2c6f9b7ef80bffd556ecf41c58 (patch)
tree45c3df94a6f6979b11c99e5393dbc561bd5ac11d /devel
parent5d4a695a90a03271035c2da00283e4b41d394a96 (diff)
downloadpkgsrc-7fea2b058db97a2c6f9b7ef80bffd556ecf41c58.tar.gz
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 (limited to 'devel')
-rw-r--r--devel/Makefile3
-rw-r--r--devel/libdeflate/DESCR21
-rw-r--r--devel/libdeflate/Makefile18
-rw-r--r--devel/libdeflate/PLIST8
-rw-r--r--devel/libdeflate/distinfo5
5 files changed, 54 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b52506962f5..09bc2407aac 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -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-jsonloader
SUBDIR+= libdbusmenu-qt
SUBDIR+= libdbusmenu-qt5
SUBDIR+= libdbusmenu-tools
+SUBDIR+= libdeflate
SUBDIR+= libdevq
SUBDIR+= libdivsufsort
SUBDIR+= libdnsres
diff --git a/devel/libdeflate/DESCR b/devel/libdeflate/DESCR
new file mode 100644
index 00000000000..e1908733ecf
--- /dev/null
+++ b/devel/libdeflate/DESCR
@@ -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 --git a/devel/libdeflate/Makefile b/devel/libdeflate/Makefile
new file mode 100644
index 00000000000..5db2520ffd3
--- /dev/null
+++ b/devel/libdeflate/Makefile
@@ -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
+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 --git a/devel/libdeflate/PLIST b/devel/libdeflate/PLIST
new file mode 100644
index 00000000000..f53523ffc63
--- /dev/null
+++ b/devel/libdeflate/PLIST
@@ -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 --git a/devel/libdeflate/distinfo b/devel/libdeflate/distinfo
new file mode 100644
index 00000000000..7ceffd7b9a7
--- /dev/null
+++ b/devel/libdeflate/distinfo
@@ -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