summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/pigz/pigz.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-extended/pigz/pigz.inc b/meta/recipes-extended/pigz/pigz.inc
index be37e8a317..3721c9786e 100644
--- a/meta/recipes-extended/pigz/pigz.inc
+++ b/meta/recipes-extended/pigz/pigz.inc
@@ -7,6 +7,8 @@ HOMEPAGE = "http://zlib.net/pigz/"
7SECTION = "console/utils" 7SECTION = "console/utils"
8LICENSE = "Zlib" 8LICENSE = "Zlib"
9 9
10PR = "r1"
11
10SRC_URI = "http://zlib.net/pigz/pigz-${PV}.tar.gz \ 12SRC_URI = "http://zlib.net/pigz/pigz-${PV}.tar.gz \
11 file://ldflags.patch" 13 file://ldflags.patch"
12 14
@@ -15,7 +17,7 @@ PROVIDES_virtclass-native += "gzip-native"
15DEPENDS = "zlib" 17DEPENDS = "zlib"
16 18
17do_install () { 19do_install () {
18 if [ "${PN}" = "${BPN}" ] ; then 20 if [ "${CLASSOVERRIDE}" = "class-target" ] ; then
19 # Install files into /bin (FHS), which is typical place for gzip 21 # Install files into /bin (FHS), which is typical place for gzip
20 install -d ${D}${base_bindir} 22 install -d ${D}${base_bindir}
21 install ${B}/pigz ${D}${base_bindir}/gzip 23 install ${B}/pigz ${D}${base_bindir}/gzip