From ae0c12023d6042801c7cc9d803424452adada50b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 6 Oct 2013 22:13:04 +0200 Subject: gnu: xmlto: Keep references to libxml2, libxslt, and util-linux programs. * gnu/packages/xml.scm (xmlto): Add 'arguments' field. [inputs]: Add libxml2 and libxslt. --- gnu/packages/xml.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gnu/packages/xml.scm') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index fb50c25c09..b16b2a3f1f 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -177,8 +177,16 @@ parser modules).") (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 -- cgit v1.2.3