void-packages/srcpkgs/kernel-manpages/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

25 lines
507 B
Text

# Template file for 'kernel-manpages'.
#
. ${XBPS_SRCPKGDIR}/kernel/common-vars
pkgname=kernel-manpages
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
}