man-pages:Add new man-pages package

The Linux man-pages project documents the Linux kernel and C library interfaces that are employed by user programs

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
This commit is contained in:
Xiaofeng Yan 2010-09-02 16:49:26 +08:00 committed by Saul Wold
parent ef8d4dc7d5
commit 7400ece674
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
DESCRIPTION = "The Linux man-pages project documents the Linux kernel and C library interfaces that are employed by user programs"
SECTION = "console/utils"
PRIORITY = "required"
HOMEPAGE = "http://www.kernel.org/pub/linux/docs/man-pages"
LICENSE = "GPL"
PR = "r0"
LIC_FILES_CHKSUM = "file://README;md5=9dab010c5baa416669e5d17381799dd5"
SRC_URI = "http://www.kernel.org/pub/linux/docs/man-pages/man-pages-3.25.tar.gz"
RDEPENDS = "man"
do_configure_prepend() {
rm -rf not_installed
}
do_configure () {
:
}
do_compile() {
oe_runmake -f Makefile DESTDIR=${D} MANDIR=${D}${mandir}
}
fakeroot do_install() {
oe_runmake install DESTDIR=${D}
}
FILES_${PN} += "${datadir}/man/"