summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-10-23 13:15:29 +0000
committeradam <adam@pkgsrc.org>2017-10-23 13:15:29 +0000
commit0410967d60916f6a58c22b3608496e6cb35fd838 (patch)
treeb310e9b3f269b9a7af3ccbe40ce0b0bcaf4dd99d /archivers
parentafc8b6484fbcdeb306013858a0f9c343927dd9d9 (diff)
downloadpkgsrc-0410967d60916f6a58c22b3608496e6cb35fd838.tar.gz
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.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile3
-rw-r--r--archivers/brotli/DESCR5
-rw-r--r--archivers/brotli/Makefile17
-rw-r--r--archivers/brotli/PLIST18
-rw-r--r--archivers/brotli/buildlink3.mk12
-rw-r--r--archivers/brotli/distinfo6
6 files changed, 60 insertions, 1 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index d6a9bb5e0f8..ba1d5e44a23 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -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
diff --git a/archivers/brotli/DESCR b/archivers/brotli/DESCR
new file mode 100644
index 00000000000..835736b0cf4
--- /dev/null
+++ b/archivers/brotli/DESCR
@@ -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.
diff --git a/archivers/brotli/Makefile b/archivers/brotli/Makefile
new file mode 100644
index 00000000000..d40a7b51690
--- /dev/null
+++ b/archivers/brotli/Makefile
@@ -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"
diff --git a/archivers/brotli/PLIST b/archivers/brotli/PLIST
new file mode 100644
index 00000000000..691ae8bad02
--- /dev/null
+++ b/archivers/brotli/PLIST
@@ -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
diff --git a/archivers/brotli/buildlink3.mk b/archivers/brotli/buildlink3.mk
new file mode 100644
index 00000000000..c1ebedcb70d
--- /dev/null
+++ b/archivers/brotli/buildlink3.mk
@@ -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
diff --git a/archivers/brotli/distinfo b/archivers/brotli/distinfo
new file mode 100644
index 00000000000..890c9284a69
--- /dev/null
+++ b/archivers/brotli/distinfo
@@ -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