gnu: xmlto: Keep references to libxml2, libxslt, and util-linux programs.

* gnu/packages/xml.scm (xmlto): Add 'arguments' field.
  [inputs]: Add libxml2 and libxslt.
This commit is contained in:
Ludovic Courtès 2013-10-06 22:13:04 +02:00
parent 74067e1aeb
commit ae0c12023d

View file

@ -177,8 +177,16 @@ (define-public xmlto
(base32
"0dp5nxq491gymq806za0dk4hngfmq65ysrqbn0ypajqbbl6vf71n"))))
(build-system gnu-build-system)
(arguments
;; Make sure the reference to util-linux's 'getopt' is kept in 'xmlto'.
'(#:configure-flags (list (string-append "GETOPT="
(assoc-ref %build-inputs
"util-linux")
"/bin/getopt"))))
(inputs
`(("util-linux" ,util-linux)))
`(("util-linux" ,util-linux) ; for 'getopt'
("libxml2" ,libxml2) ; for 'xmllint'
("libxslt" ,libxslt))) ; for 'xsltproc'
(home-page "http://cyberelk.net/tim/software/xmlto/")
(synopsis "Front-end to an XSL toolchain")
(description