[OE-core] [PATCH] Add pigz as gzip-native alternative.

Paul Eggleton paul.eggleton at linux.intel.com
Wed Mar 14 16:27:26 UTC 2012


On Wednesday 14 March 2012 16:59:31 Björn Stenberg wrote:
> 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.
>...
> diff --git a/meta/recipes-extended/pigz/pigz.inc
> b/meta/recipes-extended/pigz/pigz.inc new file mode 100644
> index 0000000..b501d7a
> --- /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 += "gzip-native"

Sorry for not picking up on this earlier, but I think this needs to be 
PROVIDES_virtclass-native, otherwise the target recipe will also provide gzip-
native.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-core mailing list