mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
Add a port of libdeflate, a library for fast, whole-buffer DEFLATE-based
compression and decompression. WWW: https://github.com/ebiggers/libdeflate Because GitHub releases (tarballs) are not fetched with correct modification time, set TIMESTAMP to 1501364283 which corresponds to commit 3d96a83 tagged as this release.
This commit is contained in:
parent
fb00341210
commit
13cf61b21a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458967
@ -65,6 +65,7 @@
|
||||
SUBDIR += libarchive
|
||||
SUBDIR += libcabinet
|
||||
SUBDIR += libcomprex
|
||||
SUBDIR += libdeflate
|
||||
SUBDIR += libdynamite
|
||||
SUBDIR += liblz4
|
||||
SUBDIR += liblzxcomp
|
||||
|
41
archivers/libdeflate/Makefile
Normal file
41
archivers/libdeflate/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libdeflate
|
||||
PORTVERSION= 0.8
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= archivers
|
||||
|
||||
MAINTAINER= danfe@FreeBSD.org
|
||||
COMMENT= Fast, whole-buffer DEFLATE-based compression library
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
USES= gmake
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= ebiggers
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
MAKE_ARGS= V=1
|
||||
|
||||
PLIST_FILES= bin/gunzip bin/gzip \
|
||||
include/libdeflate.h \
|
||||
lib/libdeflate.a lib/libdeflate.so
|
||||
PORTDOCS= NEWS README.md
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's| -O2 -fomit-frame-pointer||' ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gunzip ${WRKSRC}/gzip \
|
||||
${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/libdeflate.h ${STAGEDIR}${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/libdeflate.[as]* ${STAGEDIR}${PREFIX}/lib
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
archivers/libdeflate/distinfo
Normal file
3
archivers/libdeflate/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1501364283
|
||||
SHA256 (ebiggers-libdeflate-v0.8_GH0.tar.gz) = 4b27e55226db9f47a53bc51df732c9d4aba674cf64594f9c4e253e6dae4f3688
|
||||
SIZE (ebiggers-libdeflate-v0.8_GH0.tar.gz) = 119423
|
13
archivers/libdeflate/pkg-descr
Normal file
13
archivers/libdeflate/pkg-descr
Normal file
@ -0,0 +1,13 @@
|
||||
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 offers optional high compression modes
|
||||
that provide a better compression ratio than the zlib's "level 9".
|
||||
|
||||
WWW: https://github.com/ebiggers/libdeflate
|
Loading…
Reference in New Issue
Block a user