Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Linux man-pages" |
| 2 | DESCRIPTION = "The Linux man-pages project documents the Linux kernel and C library interfaces that are employed by user programs" |
| 3 | SECTION = "console/utils" |
| 4 | HOMEPAGE = "http://www.kernel.org/pub/linux/docs/man-pages" |
| 5 | LICENSE = "GPLv2+" |
| 6 | |
Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 7 | LIC_FILES_CHKSUM = "file://README;md5=207f70f56526417514ac46b6680e314f" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 8 | SRC_URI = "${KERNELORG_MIRROR}/linux/docs/${BPN}/${BP}.tar.gz" |
| 9 | |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame^] | 10 | SRC_URI[sha256sum] = "f2ce94a7250c49910db91806996699e1deac656097d4d53bdf56bdab4b61f228" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 11 | |
| 12 | inherit manpages |
| 13 | |
| 14 | MAN_PKG = "${PN}" |
| 15 | |
| 16 | PACKAGECONFIG ??= "" |
| 17 | PACKAGECONFIG[manpages] = "" |
| 18 | |
| 19 | do_configure[noexec] = "1" |
| 20 | do_compile[noexec] = "1" |
| 21 | |
| 22 | do_install() { |
| 23 | oe_runmake install DESTDIR=${D} |
| 24 | } |
| 25 | |
| 26 | # Only deliveres man-pages so FILES_${PN} gets everything |
| 27 | FILES_${PN}-doc = "" |
| 28 | FILES_${PN} = "${mandir}/*" |
| 29 | |
| 30 | inherit update-alternatives |
| 31 | |
| 32 | ALTERNATIVE_PRIORITY = "100" |
| 33 | ALTERNATIVE_${PN} = "passwd.5 getspnam.3 crypt.3" |
| 34 | ALTERNATIVE_LINK_NAME[passwd.5] = "${mandir}/man5/passwd.5" |
| 35 | ALTERNATIVE_LINK_NAME[getspnam.3] = "${mandir}/man3/getspnam.3" |
| 36 | ALTERNATIVE_LINK_NAME[crypt.3] = "${mandir}/man3/crypt.3" |