diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2017-02-07 00:05:55 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 20:06:29 -0800 |
commit | ced615b538b374a9ca83a845f88286dc4897cbec (patch) | |
tree | c2536cc6efe6ef4147a8f5099179a28326c03fa1 /meta/recipes-extended/man-pages/man-pages_4.09.bb | |
parent | 22e17785744e001eae8387dab853e6b9d5468211 (diff) | |
download | openembedded-core-contrib-ced615b538b374a9ca83a845f88286dc4897cbec.tar.gz |
man-pages: 4.08 -> 4.09
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Diffstat (limited to 'meta/recipes-extended/man-pages/man-pages_4.09.bb')
-rw-r--r-- | meta/recipes-extended/man-pages/man-pages_4.09.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-extended/man-pages/man-pages_4.09.bb b/meta/recipes-extended/man-pages/man-pages_4.09.bb new file mode 100644 index 00000000000..55fc21e91c8 --- /dev/null +++ b/meta/recipes-extended/man-pages/man-pages_4.09.bb @@ -0,0 +1,31 @@ +SUMMARY = "Linux man-pages" +DESCRIPTION = "The Linux man-pages project documents the Linux kernel and C library interfaces that are employed by user programs" +SECTION = "console/utils" +HOMEPAGE = "http://www.kernel.org/pub/linux/docs/man-pages" +LICENSE = "GPLv2+" + +LIC_FILES_CHKSUM = "file://README;md5=8f2a3d43057d458e5066714980567a60" +SRC_URI = "${KERNELORG_MIRROR}/linux/docs/${BPN}/Archive/${BP}.tar.gz" + +SRC_URI[md5sum] = "9e3c7b12a5fecda9a717a4bcc0ae3a67" +SRC_URI[sha256sum] = "5fac324cefce0fbfae0df6c06ef3f6d6ab5227b9aad2a94f8657a0e3901f9185" + +RDEPENDS_${PN} = "man" + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +do_install() { + oe_runmake install DESTDIR=${D} +} + +# Only deliveres man-pages so FILES_${PN} gets everything +FILES_${PN}-doc = "" +FILES_${PN} = "${mandir}/*" + +inherit update-alternatives + +ALTERNATIVE_PRIORITY = "100" +ALTERNATIVE_${PN} = "passwd.5 getspnam.3" +ALTERNATIVE_LINK_NAME[passwd.5] = "${mandir}/man5/passwd.5" +ALTERNATIVE_LINK_NAME[getspnam.3] = "${mandir}/man3/getspnam.3" |