summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/pigz/pigz.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-01-28 09:20:38 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-03 14:53:42 +0000
commitc939b9cc5bd046261981dcaae6cae9d358ed7671 (patch)
tree721978a56e0e22cb47ee0922fc82a83ca9a0b261 /meta/recipes-extended/pigz/pigz.inc
parentb457e0b028418260aee25858b8af8938dd038fac (diff)
downloadopenembedded-core-c939b9cc5bd046261981dcaae6cae9d358ed7671.tar.gz
openembedded-core-c939b9cc5bd046261981dcaae6cae9d358ed7671.tar.bz2
openembedded-core-c939b9cc5bd046261981dcaae6cae9d358ed7671.zip
pigz: Upgrade to 2.3.3
Fix build issues due to libz being required but is specified before use. Change-Id: I1f26c8e656b330a4b5f1eeffee7ac13500fa98d0 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-extended/pigz/pigz.inc')
-rw-r--r--meta/recipes-extended/pigz/pigz.inc24
1 files changed, 12 insertions, 12 deletions
diff --git a/meta/recipes-extended/pigz/pigz.inc b/meta/recipes-extended/pigz/pigz.inc
index d313f2f6f8..b5caa95184 100644
--- a/meta/recipes-extended/pigz/pigz.inc
+++ b/meta/recipes-extended/pigz/pigz.inc
@@ -7,23 +7,23 @@ HOMEPAGE = "http://zlib.net/pigz/"
SECTION = "console/utils"
LICENSE = "Zlib & Apache-2.0"
-SRC_URI = "http://zlib.net/pigz/pigz-${PV}.tar.gz"
+SRC_URI = "http://zlib.net/${BPN}/${BP}.tar.gz"
PROVIDES_class-native += "gzip-native"
DEPENDS = "zlib"
-do_install () {
- if [ "${CLASSOVERRIDE}" = "class-target" ] ; then
- # Install files into /bin (FHS), which is typical place for gzip
- install -d ${D}${base_bindir}
- install ${B}/pigz ${D}${base_bindir}/gzip
- install ${B}/unpigz ${D}${base_bindir}/gunzip
- else
- install -d ${D}${bindir}
- install ${B}/pigz ${D}${bindir}/gzip
- install ${B}/unpigz ${D}${bindir}/gunzip
- fi
+do_install_class-target() {
+ # Install files into /bin (FHS), which is typical place for gzip
+ install -d ${D}${base_bindir}
+ install ${B}/pigz ${D}${base_bindir}/gzip
+ install ${B}/unpigz ${D}${base_bindir}/gunzip
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install ${B}/pigz ${D}${bindir}/gzip
+ install ${B}/unpigz ${D}${bindir}/gunzip
}
ALTERNATIVE_${PN} = "gzip gunzip"