From d579c7de7984bab1b56e01ca662dede88d063745 Mon Sep 17 00:00:00 2001 From: brad Date: Sun, 1 Dec 2013 03:19:13 +0000 Subject: [PATCH] Import pigz. A parallel implementation of gzip for modern multi-processor, multi-core machines. From Thomas Pfaff. ok benoit@ --- archivers/pigz/Makefile | 28 ++++++++++++++++++++++++++++ archivers/pigz/distinfo | 2 ++ archivers/pigz/pkg/DESCR | 2 ++ archivers/pigz/pkg/PLIST | 4 ++++ 4 files changed, 36 insertions(+) create mode 100644 archivers/pigz/Makefile create mode 100644 archivers/pigz/distinfo create mode 100644 archivers/pigz/pkg/DESCR create mode 100644 archivers/pigz/pkg/PLIST diff --git a/archivers/pigz/Makefile b/archivers/pigz/Makefile new file mode 100644 index 00000000000..9cfad4ea3ff --- /dev/null +++ b/archivers/pigz/Makefile @@ -0,0 +1,28 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2013/12/01 03:19:13 brad Exp $ + +COMMENT = parallel implementation of gzip utilizing multiple cores + +DISTNAME = pigz-2.3.1 +CATEGORIES = archivers +HOMEPAGE = http://zlib.net/pigz/ + +MAINTAINER = Thomas Pfaff + +# zlib + Apache +PERMIT_PACKAGE_CDROM = Yes + +WANTLIB = c m pthread z + +MASTER_SITES = ${HOMEPAGE} + +MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS} -Wall -Wextra" + +USE_GMAKE = Yes +ALL_TARGET = pigz + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/pigz ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/unpigz ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/pigz.1 ${PREFIX}/man/man1 + +.include diff --git a/archivers/pigz/distinfo b/archivers/pigz/distinfo new file mode 100644 index 00000000000..3e0e8ad330a --- /dev/null +++ b/archivers/pigz/distinfo @@ -0,0 +1,2 @@ +SHA256 (pigz-2.3.1.tar.gz) = YpsM5UIqOXjzF0K/gnXQvi+EmHFA0Y85Dx47Tkbgr1Q= +SIZE (pigz-2.3.1.tar.gz) = 86651 diff --git a/archivers/pigz/pkg/DESCR b/archivers/pigz/pkg/DESCR new file mode 100644 index 00000000000..6322d54a70c --- /dev/null +++ b/archivers/pigz/pkg/DESCR @@ -0,0 +1,2 @@ +A parallel implementation of gzip for modern multi-processor, multi-core +machines. diff --git a/archivers/pigz/pkg/PLIST b/archivers/pigz/pkg/PLIST new file mode 100644 index 00000000000..515428c8db6 --- /dev/null +++ b/archivers/pigz/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2013/12/01 03:19:13 brad Exp $ +@bin bin/pigz +@bin bin/unpigz +@man man/man1/pigz.1