From 003acf3924dca7c49f45494e317a1cd29abc3b20 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 22 Oct 2010 17:54:57 +0200 Subject: [PATCH] Split kernel-manpages from the 'kernel' pkg, to speed up the process. --- srcpkgs/kernel-manpages | 1 - srcpkgs/kernel-manpages/template | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) delete mode 120000 srcpkgs/kernel-manpages create mode 100644 srcpkgs/kernel-manpages/template diff --git a/srcpkgs/kernel-manpages b/srcpkgs/kernel-manpages deleted file mode 120000 index 36c8c047ca..0000000000 --- a/srcpkgs/kernel-manpages +++ /dev/null @@ -1 +0,0 @@ -kernel \ No newline at end of file diff --git a/srcpkgs/kernel-manpages/template b/srcpkgs/kernel-manpages/template new file mode 100644 index 0000000000..4c06bfa1ae --- /dev/null +++ b/srcpkgs/kernel-manpages/template @@ -0,0 +1,26 @@ +# 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 libxslt +Add_dependency build docbook-xsl + +do_build() +{ + make ${makejobs} mandocs || return 1 +} + +do_install() +{ + install -d ${DESTDIR}/usr/share/man/man9 + install -m644 ${wrksrc}/Documentation/DocBook/man/*.9.gz \ + ${DESTDIR}/usr/share/man/man9 +}