gnu: module-init-tools: Remove reference to unavailable man page tarball.
Fixes <http://bugs.gnu.org/15187>. Reported by Mark H. Weaver <mhw@netris.org>. * gnu/packages/linux.scm (module-init-tools): Remove reference to Gentoo's pre-built man pages and 'unpack-man-pages' phase. Add 'fake-docbook' phases.master
parent
6bf3e5f72d
commit
5c413a9cbc
|
@ -122,24 +122,16 @@
|
||||||
(base32
|
(base32
|
||||||
"0jxnz9ahfic79rp93l5wxcbgh4pkv85mwnjlbv1gz3jawv5cvwp1"))))
|
"0jxnz9ahfic79rp93l5wxcbgh4pkv85mwnjlbv1gz3jawv5cvwp1"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
|
||||||
;; The upstream tarball lacks man pages, and building them would require
|
|
||||||
;; DocBook & co. Thus, use Gentoo's pre-built man pages.
|
|
||||||
`(("man-pages"
|
|
||||||
,(origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (string-append
|
|
||||||
"http://distfiles.gentoo.org/distfiles/module-init-tools-" version
|
|
||||||
"-man.tar.bz2"))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"1j1nzi87kgsh4scl645fhwhjvljxj83cmdasa4n4p5krhasgw358"))))))
|
|
||||||
(arguments
|
(arguments
|
||||||
|
;; FIXME: The upstream tarball lacks man pages, and building them would
|
||||||
|
;; require DocBook & co. We used to use Gentoo's pre-built man pages,
|
||||||
|
;; but they vanished. In the meantime, fake it.
|
||||||
'(#:phases (alist-cons-before
|
'(#:phases (alist-cons-before
|
||||||
'unpack 'unpack-man-pages
|
'configure 'fake-docbook
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda _
|
||||||
(let ((man-pages (assoc-ref inputs "man-pages")))
|
(substitute* "Makefile.in"
|
||||||
(zero? (system* "tar" "xvf" man-pages))))
|
(("^DOCBOOKTOMAN.*$")
|
||||||
|
"DOCBOOKTOMAN = true\n")))
|
||||||
%standard-phases)))
|
%standard-phases)))
|
||||||
(home-page "http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/")
|
(home-page "http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/")
|
||||||
(synopsis "Tools for loading and managing Linux kernel modules")
|
(synopsis "Tools for loading and managing Linux kernel modules")
|
||||||
|
|
Reference in New Issue