# Template file for 'kernel-manpages'.
#
pkgname=kernel-manpages
version=3.2.6
revision=1
wrksrc=linux-${version}
noarch=yes
makedepends="which perl xmlto"
homepage="http://www.kernel.org"
distfiles="http://www.kernel.org/pub/linux/kernel/v3.x/linux-${version}.tar.xz"
checksum=9db97d45638017e6dfaed768cfa9f47533c9c9fb3538bce0e594d9feff5489b4
short_desc="${pkgname} development manual pages"
long_desc="
 This package contains manual pages for developping for the Linux kernel."

do_build() {
	make ${makejobs} mandocs
}

do_install() {
	vmkdir usr/share/man/man9
	install -m644 Documentation/DocBook/man/*.9.gz ${DESTDIR}/usr/share/man/man9
}
