From fe5f165c775ccef36a251bb83ca5dadbd209e355 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Thu, 15 Mar 2012 09:25:45 +0100 Subject: Add pigz as gzip-native alternative. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data. pigz was written by Mark Adler, and uses the zlib and pthread libraries. This recipe adds pigz as an alternative gzip-native implementation only. Signed-off-by: Björn Stenberg --- meta/recipes-extended/pigz/pigz.inc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta/recipes-extended/pigz/pigz.inc (limited to 'meta/recipes-extended/pigz/pigz.inc') diff --git a/meta/recipes-extended/pigz/pigz.inc b/meta/recipes-extended/pigz/pigz.inc new file mode 100644 index 0000000000..acf1b71134 --- /dev/null +++ b/meta/recipes-extended/pigz/pigz.inc @@ -0,0 +1,21 @@ +SUMMARY = "A parallel implementation of gzip" +DESCRIPTION = "pigz, which stands for parallel implementation of gzip, is a \ +fully functional replacement for gzip that exploits multiple processors and \ +multiple cores to the hilt when compressing data. pigz was written by Mark \ +Adler, and uses the zlib and pthread libraries." +HOMEPAGE = "http://zlib.net/pigz/" +SECTION = "console/utils" +LICENSE = "Zlib" + +SRC_URI = "http://zlib.net/pigz/pigz-${PV}.tar.gz \ + file://ldflags.patch" + +PROVIDES_virtclass-native += "gzip-native" + +DEPENDS_virtclass-native = "zlib-native" + +do_install () { + install -d ${D}${bindir} + install ${B}/pigz ${D}${bindir}/gzip + install ${B}/unpigz ${D}${bindir}/gunzip +} -- cgit 1.2.3-korg