void-packages/srcpkgs/kernel-manpages/template

25 lines
662 B
Plaintext

# Template file for 'kernel-manpages'.
#
pkgname=kernel-manpages
version=3.2.6
revision=2
noarch="yes"
wrksrc=linux-${version}
makedepends="which perl xmlto"
homepage="http://www.kernel.org"
license="GPL-2"
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
}