Split kernel-manpages from the 'kernel' pkg, to speed up the process.

This commit is contained in:
Juan RP 2010-10-22 17:54:57 +02:00
parent 4521cfc58e
commit 003acf3924
2 changed files with 26 additions and 1 deletions

View File

@ -1 +0,0 @@
kernel

View File

@ -0,0 +1,26 @@
# Template file for 'kernel-manpages'.
#
. ${XBPS_SRCPKGDIR}/kernel/common-vars
pkgname=kernel-manpages
build_style=custom-install
short_desc="${pkgname} development manual pages"
long_desc="
This package contains manual pages for developping for the Linux kernel."
noarch=yes
Add_dependency build libxslt
Add_dependency build docbook-xsl
do_build()
{
make ${makejobs} mandocs || return 1
}
do_install()
{
install -d ${DESTDIR}/usr/share/man/man9
install -m644 ${wrksrc}/Documentation/DocBook/man/*.9.gz \
${DESTDIR}/usr/share/man/man9
}