[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50131] [PATCH 2/3] gnu: Add docbook2x.
From: |
Thiago Jung Bauermann |
Subject: |
[bug#50131] [PATCH 2/3] gnu: Add docbook2x. |
Date: |
Thu, 26 Aug 2021 12:36:45 -0300 |
Hello Andrew,
Em sexta-feira, 20 de agosto de 2021, às 09:09:06 -03, Andrew Whatson
escreveu:
> * gnu/packages/docbook.scm (docbook2x): New variable.
> ---
> gnu/packages/docbook.scm | 87 ++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 87 insertions(+)
FWIW, this looks good to me. Just one minor comment below.
> @@ -473,3 +478,85 @@ DB2LaTeX.")
> (package/inherit dblatex
> (inputs (alist-replace "imagemagick" `(,imagemagick/stable)
> (package-inputs dblatex))))))
> +
> +(define-public docbook2x
> + (package
> + (name "docbook2x")
> + (version "0.8.8")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append
> "mirror://sourceforge/docbook2x/docbook2x/" +
> version "/docbook2X-" version ".tar.gz")) + (sha256
> + (base32
> +
> "0ifwzk99rzjws0ixzimbvs83x6cxqk1xzmg84wa1p7bs6rypaxs0")))) +
> (build-system gnu-build-system)
> + (inputs
> + `(("bash-minimal" ,bash-minimal)
> + ("docbook-xml" ,docbook-xml)
> + ("perl" ,perl)
> + ("perl-xml-namespacesupport" ,perl-xml-namespacesupport)
> + ("perl-xml-parser" ,perl-xml-parser)
> + ("perl-xml-sax" ,perl-xml-sax)
> + ("perl-xml-sax-base" ,perl-xml-sax-base)
> + ("texinfo" ,texinfo)
> + ("xsltproc" ,libxslt)))
> + (arguments
> + `(#:configure-flags
> + (list (string-append "--prefix=" (assoc-ref %outputs "out")))
There’s no need to pass the prefix argument. ‘gnu-build-system’ already
does it.
--
Thanks,
Thiago