summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/pigz/pigz.inc
diff options
context:
space:
mode:
authorBjörn Stenberg <bjst@enea.com>2012-03-15 09:25:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-19 14:37:35 +0000
commit3f23b2f1b0e8312c947b780e3d1ec7fd981ab94e (patch)
treec5a723572d962ccd995e3b9a53a2e7211297050e /meta/recipes-extended/pigz/pigz.inc
parent26a46938d3ea1821e7bec4fa6cc8379babad238b (diff)
downloadpoky-3f23b2f1b0e8312c947b780e3d1ec7fd981ab94e.tar.gz
Add pigz as gzip-native alternative.
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. (From OE-Core rev: fe5f165c775ccef36a251bb83ca5dadbd209e355) Signed-off-by: Björn Stenberg <bjst@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/pigz/pigz.inc')
-rw-r--r--meta/recipes-extended/pigz/pigz.inc21
1 files changed, 21 insertions, 0 deletions
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 @@
1SUMMARY = "A parallel implementation of gzip"
2DESCRIPTION = "pigz, which stands for parallel implementation of gzip, is a \
3fully functional replacement for gzip that exploits multiple processors and \
4multiple cores to the hilt when compressing data. pigz was written by Mark \
5Adler, and uses the zlib and pthread libraries."
6HOMEPAGE = "http://zlib.net/pigz/"
7SECTION = "console/utils"
8LICENSE = "Zlib"
9
10SRC_URI = "http://zlib.net/pigz/pigz-${PV}.tar.gz \
11 file://ldflags.patch"
12
13PROVIDES_virtclass-native += "gzip-native"
14
15DEPENDS_virtclass-native = "zlib-native"
16
17do_install () {
18 install -d ${D}${bindir}
19 install ${B}/pigz ${D}${bindir}/gzip
20 install ${B}/unpigz ${D}${bindir}/gunzip
21}