# Template file for 'kernel-manpages'.
#
pkgname=kernel-manpages
version=3.10.30
revision=1
noarch=yes
wrksrc=linux-${version}
hostmakedepends="which perl xmlto"
homepage="http://www.kernel.org"
license="GPL-2"
short_desc="Linux kernel development manual pages"
distfiles="http://www.kernel.org/pub/linux/kernel/v3.x/linux-${version}.tar.xz"
checksum=150a05c96f9f00337d9bf14de0dfff4efe395c9b7776c189f1fb1901de113d29

do_build() {
	make ${makejobs} mandocs
}

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