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
This commit is contained in:
bsiegert 2022-04-03 16:11:01 +00:00
parent 8db6b96704
commit 8e4b7804db
5 changed files with 54 additions and 1 deletions

View file

@ -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

21
devel/libdeflate/DESCR Normal file
View file

@ -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

18
devel/libdeflate/Makefile Normal file
View file

@ -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"

8
devel/libdeflate/PLIST Normal file
View file

@ -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

View file

@ -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