brotli: added version 1.0.1

Brotli is a generic-purpose lossless compression algorithm that compresses data
using a combination of a modern variant of the LZ77 algorithm, Huffman coding
and 2nd order context modeling, with a compression ratio comparable to the best
currently available general-purpose compression methods. It is similar in speed
with deflate but offers more dense compression.
This commit is contained in:
adam 2017-10-23 13:15:29 +00:00
parent 23fa97432a
commit 493aa5e249
6 changed files with 60 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.155 2017/09/29 21:36:46 joerg Exp $
# $NetBSD: Makefile,v 1.156 2017/10/23 13:15:29 adam Exp $
#
COMMENT= Archivers
@ -12,6 +12,7 @@ SUBDIR+= arj
SUBDIR+= ark
SUBDIR+= bicom
SUBDIR+= bmap-tools
SUBDIR+= brotli
SUBDIR+= bsdtar
SUBDIR+= bunzip
SUBDIR+= bzip2

5
archivers/brotli/DESCR Normal file
View file

@ -0,0 +1,5 @@
Brotli is a generic-purpose lossless compression algorithm that compresses data
using a combination of a modern variant of the LZ77 algorithm, Huffman coding
and 2nd order context modeling, with a compression ratio comparable to the best
currently available general-purpose compression methods. It is similar in speed
with deflate but offers more dense compression.

17
archivers/brotli/Makefile Normal file
View file

@ -0,0 +1,17 @@
# $NetBSD: Makefile,v 1.1 2017/10/23 13:15:29 adam Exp $
DISTNAME= brotli-1.0.1
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/google/brotli
COMMENT= Generic-purpose lossless compression algorithm
LICENSE= mit
GITHUB_TAG= v${PKGVERSION_NOREV}
USE_CMAKE= yes
USE_LANGUAGES= c c++
.include "../../mk/bsd.pkg.mk"

18
archivers/brotli/PLIST Normal file
View file

@ -0,0 +1,18 @@
@comment $NetBSD: PLIST,v 1.1 2017/10/23 13:15:29 adam Exp $
bin/brotli
include/brotli/decode.h
include/brotli/encode.h
include/brotli/port.h
include/brotli/types.h
lib/libbrotlicommon-static.a
lib/libbrotlicommon.so
lib/libbrotlicommon.so.1.0.1
lib/libbrotlidec-static.a
lib/libbrotlidec.so
lib/libbrotlidec.so.1.0.1
lib/libbrotlienc-static.a
lib/libbrotlienc.so
lib/libbrotlienc.so.1.0.1
lib/pkgconfig/libbrotlicommon.pc
lib/pkgconfig/libbrotlidec.pc
lib/pkgconfig/libbrotlienc.pc

View file

@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.1 2017/10/23 13:15:29 adam Exp $
BUILDLINK_TREE+= brotli
.if !defined(BROTLI_BUILDLINK3_MK)
BROTLI_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.brotli+= brotli>=1.0.1
BUILDLINK_PKGSRCDIR.brotli?= ../../archivers/brotli
.endif # BROTLI_BUILDLINK3_MK
BUILDLINK_TREE+= -brotli

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2017/10/23 13:15:29 adam Exp $
SHA1 (brotli-1.0.1.tar.gz) = 33719c380ca2623f748f783666cea242a3b0339a
RMD160 (brotli-1.0.1.tar.gz) = 13a391d712dea9675e7d5267a07f626895b39ebc
SHA512 (brotli-1.0.1.tar.gz) = de6f787012243fdc5eafa559ffc765e1d69bf78cf337efdd743bb422706b5ae86b4966f07a8410165044b988b7ca2999065efc4693bda7111e53fe64917e24c0
Size (brotli-1.0.1.tar.gz) = 23731694 bytes