diff options
Diffstat (limited to 'meta/recipes-extended/man/man_1.6g.bb')
-rw-r--r-- | meta/recipes-extended/man/man_1.6g.bb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-extended/man/man_1.6g.bb b/meta/recipes-extended/man/man_1.6g.bb index a66e01cb9a..03fffd6015 100644 --- a/meta/recipes-extended/man/man_1.6g.bb +++ b/meta/recipes-extended/man/man_1.6g.bb | |||
@@ -9,6 +9,19 @@ PR = "r1" | |||
9 | 9 | ||
10 | DEPENDS = "groff less" | 10 | DEPENDS = "groff less" |
11 | 11 | ||
12 | def compress_pkg(d): | ||
13 | if "compress_doc" in (d.getVar("INHERIT", True) or "").split(): | ||
14 | compress = d.getVar("DOC_COMPRESS", True) | ||
15 | if compress == "gz": | ||
16 | return "gzip" | ||
17 | elif compress == "bz2": | ||
18 | return "bzip2" | ||
19 | elif compress == "xz": | ||
20 | return "xz" | ||
21 | return "" | ||
22 | |||
23 | RDEPENDS_${PN} += "${@compress_pkg(d)}" | ||
24 | |||
12 | SRC_URI = "http://primates.ximian.com/~flucifredi/${BPN}/${BPN}-${PV}.tar.gz \ | 25 | SRC_URI = "http://primates.ximian.com/~flucifredi/${BPN}/${BPN}-${PV}.tar.gz \ |
13 | file://man-1.5k-confpath.patch;striplevel=0 \ | 26 | file://man-1.5k-confpath.patch;striplevel=0 \ |
14 | file://man-1.5h1-make.patch \ | 27 | file://man-1.5h1-make.patch \ |