void-packages/srcpkgs/kernel-manpages/template

26 lines
534 B
Text

# 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 perl ">=0"
Add_dependency build xmlto
do_build()
{
make ${makejobs} mandocs
}
do_install()
{
install -d ${DESTDIR}/usr/share/man/man9
install -m644 ${wrksrc}/Documentation/DocBook/man/*.9.gz \
${DESTDIR}/usr/share/man/man9
}