gnu: Add Log::Report.
[jackhill/guix/guix.git] / gnu / packages / xml.scm
CommitLineData
d0414883 1;;; GNU Guix --- Functional package management for GNU
74528069 2;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
0899144f 3;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
b715dbac 4;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
10ac0f9f 5;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
6ce212b8 6;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
99e29da1 7;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
877a6466 8;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
d0414883
LC
9;;;
10;;; This file is part of GNU Guix.
11;;;
12;;; GNU Guix is free software; you can redistribute it and/or modify it
13;;; under the terms of the GNU General Public License as published by
14;;; the Free Software Foundation; either version 3 of the License, or (at
15;;; your option) any later version.
16;;;
17;;; GNU Guix is distributed in the hope that it will be useful, but
18;;; WITHOUT ANY WARRANTY; without even the implied warranty of
19;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20;;; GNU General Public License for more details.
21;;;
22;;; You should have received a copy of the GNU General Public License
23;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
24
1ffa7090 25(define-module (gnu packages xml)
f0444eaf 26 #:use-module (gnu packages)
0899144f 27 #:use-module (gnu packages autotools)
322cbda7 28 #:use-module (gnu packages compression)
58cc3b38 29 #:use-module (gnu packages gnupg)
f0444eaf
AE
30 #:use-module (gnu packages perl)
31 #:use-module (gnu packages python)
a7fd7b68 32 #:use-module (gnu packages tls)
ad871fc6 33 #:use-module (gnu packages web)
b5b73a82 34 #:use-module ((guix licenses) #:prefix license:)
d0414883
LC
35 #:use-module (guix packages)
36 #:use-module (guix download)
6ce212b8 37 #:use-module (guix build-system cmake)
2a1e82bb 38 #:use-module (guix build-system gnu)
37f9ff63 39 #:use-module (guix build-system perl)
7ce32242 40 #:use-module (guix build-system python)
37f9ff63 41 #:use-module (gnu packages linux))
d0414883
LC
42
43(define-public expat
44 (package
45 (name "expat")
46 (version "2.1.0")
47 (source (origin
48 (method url-fetch)
49 (uri (string-append "mirror://sourceforge/expat/expat/"
50 version "/expat-" version ".tar.gz"))
51 (sha256
52 (base32
99e29da1
MW
53 "11pblz61zyxh68s5pdcbhc30ha1b2vfjd83aiwfg4vc15x3hadw2"))
54 (patches (list (search-patch "expat-CVE-2015-1283.patch")))))
d0414883
LC
55 (build-system gnu-build-system)
56 (home-page "http://www.libexpat.org/")
9e771e3b 57 (synopsis "Stream-oriented XML parser library written in C")
d0414883
LC
58 (description
59 "Expat is an XML parser library written in C. It is a
60stream-oriented parser in which an application registers handlers for
61things the parser might find in the XML document (like start tags).")
62 (license license:expat)))
f0444eaf
AE
63
64(define-public libxml2
65 (package
66 (name "libxml2")
821060f3 67 (version "2.9.3")
f0444eaf
AE
68 (source (origin
69 (method url-fetch)
70 (uri (string-append "ftp://xmlsoft.org/libxml2/libxml2-"
71 version ".tar.gz"))
72 (sha256
73 (base32
821060f3 74 "0bd17g6znn2r98gzpjppsqjg33iraky4px923j3k8kdl8qgy7sad"))))
f0444eaf
AE
75 (build-system gnu-build-system)
76 (home-page "http://www.xmlsoft.org/")
35b9e423 77 (synopsis "C parser for XML")
c1944c92 78 (propagated-inputs `(("zlib" ,zlib))) ; libxml2.la says '-lz'.
7ce32242 79 (native-inputs `(("perl" ,perl)))
2a8d4401
LC
80 ;; $XML_CATALOG_FILES lists 'catalog.xml' files found in under the 'xml'
81 ;; sub-directory of any given package.
74528069
LC
82 (native-search-paths (list (search-path-specification
83 (variable "XML_CATALOG_FILES")
84 (separator " ")
85 (files '("xml"))
86 (file-pattern "^catalog\\.xml$")
87 (file-type 'regular))))
2a8d4401 88 (search-paths native-search-paths)
f0444eaf 89 (description
7c125ce0
AK
90 "Libxml2 is the XML C parser and toolkit developed for the Gnome
91project (but it is usable outside of the Gnome platform).")
f0444eaf 92 (license license:x11)))
58cc3b38 93
7ce32242
SB
94(define-public python-libxml2
95 (package (inherit libxml2)
96 (name "python-libxml2")
97 (build-system python-build-system)
98 (arguments
99 `(;; XXX: Tests are specified in 'Makefile.am', but not in 'setup.py'.
100 #:tests? #f
101 #:phases
102 (modify-phases %standard-phases
103 (add-before
104 'build 'configure
105 (lambda* (#:key inputs #:allow-other-keys)
106 (chdir "python")
107 (let ((glibc (assoc-ref inputs ,(if (%current-target-system)
108 "cross-libc" "libc")))
109 (libxml2 (assoc-ref inputs "libxml2")))
110 (substitute* "setup.py"
111 ;; For 'libxml2/libxml/tree.h'.
112 (("ROOT = r'/usr'")
113 (format #f "ROOT = r'~a'" libxml2))
114 ;; For 'iconv.h'.
115 (("/opt/include")
116 (string-append glibc "/include")))))))))
117 (inputs `(("libxml2" ,libxml2)))
118 (synopsis "Python bindings for the libxml2 library")))
119
120(define-public python2-libxml2
121 (package-with-python2 python-libxml2))
122
58cc3b38
AE
123(define-public libxslt
124 (package
125 (name "libxslt")
126 (version "1.1.28")
127 (source (origin
128 (method url-fetch)
129 (uri (string-append "ftp://xmlsoft.org/libxslt/libxslt-"
130 version ".tar.gz"))
131 (sha256
132 (base32
b4a88dc2
MW
133 "13029baw9kkyjgr7q3jccw2mz38amq7mmpr5p3bh775qawd1bisz"))
134 (patches (list (search-patch "libxslt-CVE-2015-7995.patch")))))
58cc3b38
AE
135 (build-system gnu-build-system)
136 (home-page "http://xmlsoft.org/XSLT/index.html")
35b9e423 137 (synopsis "C library for applying XSLT stylesheets to XML documents")
58cc3b38
AE
138 (inputs `(("libgcrypt" ,libgcrypt)
139 ("libxml2" ,libxml2)
95288fcc 140 ("python" ,python-minimal-wrapper)
11e3f107 141 ("zlib" ,zlib)))
58cc3b38 142 (description
35b9e423 143 "Libxslt is an XSLT C library developed for the GNOME project. It is
58cc3b38
AE
144based on libxml for XML parsing, tree manipulation and XPath support.")
145 (license license:x11)))
2a1e82bb
LC
146
147(define-public perl-xml-parser
148 (package
149 (name "perl-xml-parser")
d495634b 150 (version "2.44")
2a1e82bb
LC
151 (source (origin
152 (method url-fetch)
153 (uri (string-append
2b8c5f54 154 "mirror://cpan/authors/id/T/TO/TODDR/XML-Parser-"
2a1e82bb
LC
155 version ".tar.gz"))
156 (sha256
157 (base32
d495634b 158 "05ij0g6bfn27iaggxf8nl5rhlwx6f6p6xmdav6rjcly3x5zd1s8s"))))
2a1e82bb
LC
159 (build-system perl-build-system)
160 (arguments `(#:make-maker-flags
161 (let ((expat (assoc-ref %build-inputs "expat")))
162 (list (string-append "EXPATLIBPATH=" expat "/lib")
163 (string-append "EXPATINCPATH=" expat "/include")))))
164 (inputs `(("expat" ,expat)))
165 (license (package-license perl))
166 (synopsis "Perl bindings to the Expat XML parsing library")
167 (description
168 "This module provides ways to parse XML documents. It is built on top of
169XML::Parser::Expat, which is a lower level interface to James Clark's expat
170library. Each call to one of the parsing methods creates a new instance of
171XML::Parser::Expat which is then used to parse the document. Expat options
172may be provided when the XML::Parser object is created. These options are
173then passed on to the Expat object on each parse call. They can also be given
174as extra arguments to the parse methods, in which case they override options
175given at XML::Parser creation time.")
d495634b 176 (home-page "http://search.cpan.org/dist/XML-Parser")))
37f9ff63 177
7339fbe2 178(define-public perl-libxml
1385ba4f 179 (package
7339fbe2 180 (name "perl-libxml")
1385ba4f
AE
181 (version "0.08")
182 (source (origin
183 (method url-fetch)
184 (uri (string-append
185 "mirror://cpan/authors/id/K/KM/KMACLEOD/libxml-perl-"
186 version ".tar.gz"))
187 (sha256
188 (base32
189 "1jy9af0ljyzj7wakqli0437zb2vrbplqj4xhab7bfj2xgfdhawa5"))))
190 (build-system perl-build-system)
7b81406a 191 (propagated-inputs
1385ba4f
AE
192 `(("perl-xml-parser" ,perl-xml-parser)))
193 (license (package-license perl))
194 (synopsis "Perl SAX parser using XML::Parser")
195 (description
196 "XML::Parser::PerlSAX is a PerlSAX parser using the XML::Parser
197module.")
198 (home-page "http://search.cpan.org/~kmacleod/libxml-perl/lib/XML/Parser/PerlSAX.pm")))
199
3dd6bee1
EB
200(define-public perl-xml-libxml
201 (package
202 (name "perl-xml-libxml")
203 (version "2.0118")
204 (source
205 (origin
206 (method url-fetch)
207 (uri (string-append "mirror://cpan/authors/id/S/SH/SHLOMIF/"
208 "XML-LibXML-" version ".tar.gz"))
209 (sha256
210 (base32
211 "170c8dbk4p6jw9is0cria73021yp3hpmhb19p9j0zg2yxwkawr6c"))))
212 (build-system perl-build-system)
213 (propagated-inputs
214 `(("perl-xml-namespacesupport" ,perl-xml-namespacesupport)
215 ("perl-xml-sax" ,perl-xml-sax)))
216 (inputs
217 `(("libxml2" ,libxml2)))
218 (home-page "http://search.cpan.org/dist/XML-LibXML")
219 (synopsis "Perl interface to libxml2")
220 (description "This module implements a Perl interface to the libxml2
221library which provides interfaces for parsing and manipulating XML files. This
222module allows Perl programmers to make use of the highly capable validating
223XML parser and the high performance DOM implementation.")
224 (license (package-license perl))))
225
b715dbac
EB
226(define-public perl-xml-namespacesupport
227 (package
228 (name "perl-xml-namespacesupport")
229 (version "1.11")
230 (source
231 (origin
232 (method url-fetch)
233 (uri (string-append "mirror://cpan/authors/id/P/PE/PERIGRIN/"
234 "XML-NamespaceSupport-" version ".tar.gz"))
235 (sha256
236 (base32
237 "1sklgcldl3w6gn706vx1cgz6pm4y5lfgsjxnfqyk20pilgq530bd"))))
238 (build-system perl-build-system)
239 (home-page "http://search.cpan.org/dist/XML-NamespaceSupport")
240 (synopsis "XML namespace support class")
241 (description "This module offers a simple to process namespaced XML
242names (unames) from within any application that may need them. It also helps
243maintain a prefix to namespace URI map, and provides a number of basic
244checks.")
245 (license (package-license perl))))
246
18b8bbb3
EB
247(define-public perl-xml-sax
248 (package
249 (name "perl-xml-sax")
250 (version "0.99")
251 (source
252 (origin
253 (method url-fetch)
254 (uri (string-append "mirror://cpan/authors/id/G/GR/GRANTM/"
255 "XML-SAX-" version ".tar.gz"))
256 (sha256
257 (base32
258 "115dypb50w1l94y3iwihv5nkixbsv1cxiqkd93y4rk5n6s74pc1j"))))
259 (build-system perl-build-system)
260 (propagated-inputs
261 `(("perl-xml-namespacesupport" ,perl-xml-namespacesupport)
262 ("perl-xml-sax-base" ,perl-xml-sax-base)))
263 (arguments
264 `(#:phases (modify-phases %standard-phases
265 (add-before
40b084a3 266 'install 'augment-path
18b8bbb3
EB
267 ;; The install target tries to load the newly-installed
268 ;; XML::SAX module, but can't find it, so we need to tell
269 ;; perl where to look.
270 (lambda* (#:key outputs #:allow-other-keys)
271 (setenv "PERL5LIB"
272 (string-append (getenv "PERL5LIB") ":"
273 (assoc-ref outputs "out")
274 "/lib/perl5/site_perl")))))))
275 (home-page "http://search.cpan.org/dist/XML-SAX")
276 (synopsis "Perl API for XML")
277 (description "XML::SAX consists of several framework classes for using and
278building Perl SAX2 XML parsers, filters, and drivers.")
279 (license (package-license perl))))
280
1ed6d5bc
EB
281(define-public perl-xml-sax-base
282 (package
283 (name "perl-xml-sax-base")
284 (version "1.08")
285 (source
286 (origin
287 (method url-fetch)
288 (uri (string-append "mirror://cpan/authors/id/G/GR/GRANTM/"
289 "XML-SAX-Base-" version ".tar.gz"))
290 (sha256
291 (base32
292 "17i161rq1ngjlk0c8vdkrkkc56y1pf51k1g54y28py0micqp0qk6"))))
293 (build-system perl-build-system)
294 (home-page "http://search.cpan.org/dist/XML-SAX-Base")
295 (synopsis "Base class for SAX Drivers and Filters")
296 (description "This module has a very simple task - to be a base class for
297PerlSAX drivers and filters. It's default behaviour is to pass the input
298directly to the output unchanged. It can be useful to use this module as a
299base class so you don't have to, for example, implement the characters()
300callback.")
301 (license (package-license perl))))
302
535dc6cf
AE
303(define-public perl-xml-simple
304 (package
305 (name "perl-xml-simple")
306 (version "2.20")
307 (source (origin
308 (method url-fetch)
309 (uri (string-append
310 "mirror://cpan/authors/id/G/GR/GRANTM/XML-Simple-"
311 version ".tar.gz"))
312 (sha256
313 (base32
314 "0jj3jiray1l4pi9wkjcpxjc3v431whdwx5aqnhgdm4i7h3817zsw"))))
315 (build-system perl-build-system)
27ef7f45 316 (propagated-inputs
535dc6cf
AE
317 `(("perl-xml-parser" ,perl-xml-parser)))
318 (license (package-license perl))
319 (synopsis "Perl module for easy reading/writing of XML files")
320 (description
321 "The XML::Simple module provides a simple API layer on top of an
322underlying XML parsing module (either XML::Parser or one of the SAX2
323parser modules).")
324 (home-page "http://search.cpan.org/~grantm/XML-Simple-2.20/lib/XML/Simple.pm")))
325
a2e520af
AE
326(define-public perl-xml-regexp
327 (package
328 (name "perl-xml-regexp")
329 (version "0.04")
330 (source (origin
331 (method url-fetch)
332 (uri (string-append
333 "mirror://cpan/authors/id/T/TJ/TJMATHER/XML-RegExp-"
334 version ".tar.gz"))
335 (sha256
336 (base32
337 "0m7wj00a2kik7wj0azhs1zagwazqh3hlz4255n75q21nc04r06fz"))))
338 (build-system perl-build-system)
339 (inputs
340 `(("perl-xml-parser" ,perl-xml-parser)))
341 (license (package-license perl))
342 (synopsis "Perl regular expressions for XML tokens")
343 (description
344 "XML::RegExp contains regular expressions for the following XML tokens:
345BaseChar, Ideographic, Letter, Digit, Extender, CombiningChar, NameChar,
346EntityRef, CharRef, Reference, Name, NmToken, and AttValue.")
347 (home-page "http://search.cpan.org/~tjmather/XML-RegExp/lib/XML/RegExp.pm")))
348
ad871fc6
AE
349(define-public perl-xml-dom
350 (package
351 (name "perl-xml-dom")
352 (version "1.44")
353 (source (origin
354 (method url-fetch)
355 (uri (string-append
356 "mirror://cpan/authors/id/T/TJ/TJMATHER/XML-DOM-"
357 version ".tar.gz"))
358 (sha256
359 (base32
360 "1r0ampc88ni3sjpzr583k86076qg399arfm9xirv3cw49k3k5bzn"))))
361 (build-system perl-build-system)
f7faff88
AE
362 (propagated-inputs
363 `(("perl-libwww" ,perl-libwww)
ad871fc6 364 ("perl-libxml" ,perl-libxml)
ad871fc6
AE
365 ("perl-xml-regexp" ,perl-xml-regexp)))
366 (license (package-license perl))
367 (synopsis
368 "Perl module for building DOM Level 1 compliant document structures")
369 (description
370 "This module extends the XML::Parser module by Clark Cooper. The
371XML::Parser module is built on top of XML::Parser::Expat, which is a lower
372level interface to James Clark's expat library. XML::DOM::Parser is derived
373from XML::Parser. It parses XML strings or files and builds a data structure
374that conforms to the API of the Document Object Model.")
375 (home-page "http://search.cpan.org/~tjmather/XML-DOM-1.44/lib/XML/DOM.pm")))
376
6ce212b8
RW
377(define-public pugixml
378 (package
379 (name "pugixml")
380 (version "1.6")
381 (source
382 (origin
383 (method url-fetch)
384 (uri (string-append "https://github.com/zeux/pugixml/archive/v"
385 version ".tar.gz"))
386 (file-name (string-append name "-" version ".tar.gz"))
387 (sha256
388 (base32
389 "0czbcv9aqf2rw3s9cljz2wb1f4zbhd07wnj7ykklklccl0ipfnwi"))))
390 (build-system cmake-build-system)
391 (arguments
392 `(#:tests? #f
393 #:out-of-source? #f
394 #:phases (modify-phases %standard-phases
395 (add-before
396 'configure 'chdir
397 (lambda _
398 (chdir "scripts")
399 #t)))))
400 (home-page "http://pugixml.org")
401 (synopsis "Light-weight, simple and fast XML parser for C++ with XPath support")
402 (description
403 "pugixml is a C++ XML processing library, which consists of a DOM-like
404interface with rich traversal/modification capabilities, a fast XML parser
405which constructs the DOM tree from an XML file/buffer, and an XPath 1.0
406implementation for complex data-driven tree queries. Full Unicode support is
407also available, with Unicode interface variants and conversions between
408different Unicode encodings which happen automatically during
409parsing/saving.")
410 (license license:expat)))
411
37f9ff63
AE
412(define-public xmlto
413 (package
414 (name "xmlto")
877a6466 415 (version "0.0.28")
37f9ff63
AE
416 (source
417 (origin
418 (method url-fetch)
419 (uri (string-append
420 "https://fedorahosted.org/releases/x/m/xmlto/xmlto-"
421 version ".tar.bz2"))
422 (sha256
423 (base32
877a6466 424 "0xhj8b2pwp4vhl9y16v3dpxpsakkflfamr191mprzsspg4xdyc0i"))))
37f9ff63 425 (build-system gnu-build-system)
ae0c1202
LC
426 (arguments
427 ;; Make sure the reference to util-linux's 'getopt' is kept in 'xmlto'.
428 '(#:configure-flags (list (string-append "GETOPT="
429 (assoc-ref %build-inputs
430 "util-linux")
431 "/bin/getopt"))))
37f9ff63 432 (inputs
ae0c1202
LC
433 `(("util-linux" ,util-linux) ; for 'getopt'
434 ("libxml2" ,libxml2) ; for 'xmllint'
435 ("libxslt" ,libxslt))) ; for 'xsltproc'
37f9ff63
AE
436 (home-page "http://cyberelk.net/tim/software/xmlto/")
437 (synopsis "Front-end to an XSL toolchain")
438 (description
439 "Xmlto is a front-end to an XSL toolchain. It chooses an appropriate
440stylesheet for the conversion you want and applies it using an external
441XSL-T processor. It also performs any necessary post-processing.")
442 (license license:gpl2+)))
0899144f
AE
443
444(define-public xmlsec
445 (package
446 (name "xmlsec")
447 (version "1.2.20")
448 (source (origin
449 (method url-fetch)
450 (uri (string-append "https://www.aleksey.com/xmlsec/download/"
451 name "1-" version ".tar.gz"))
452 (sha256
453 (base32
454 "01bkbv2y3x8d1sf4dcln1x3y2jyj391s3208d9a2ndhglly5j89j"))))
455 (build-system gnu-build-system)
456 (propagated-inputs ; according to xmlsec1.pc
457 `(("libxml2" ,libxml2)
458 ("libxslt" ,libxslt)))
459 (inputs
460 `(("gnutls" ,gnutls)
461 ("libgcrypt" ,libgcrypt)
462 ("libltdl" ,libltdl)))
463 (home-page "http://www.libexpat.org/")
464 (synopsis "XML Security Library")
465 (description
466 "The XML Security Library is a C library based on Libxml2. It
467supports XML security standards such as XML Signature, XML Encryption,
468Canonical XML (part of Libxml2) and Exclusive Canonical XML (part of
469Libxml2).")
470 (license (license:x11-style "file://COPYING"
471 "See 'COPYING' in the distribution."))))
96f8d991
RW
472
473(define-public minixml
474 (package
475 (name "minixml")
476 (version "2.9")
477 (source (origin
478 (method url-fetch)
479 (uri (string-append "http://www.msweet.org/files/project3/mxml-"
480 version ".tar.gz"))
481 (sha256
482 (base32
483 "14pzhlfidj5v1qbxy7a59yn4jz9pnjrs2zwalz228jsq7ijm9vfd"))))
484 (build-system gnu-build-system)
485 (arguments
486 `(#:tests? #f)) ;no "check" target
487 (home-page "http://www.minixml.org/")
488 (synopsis "Small XML parsing library")
489 (description
490 "Mini-XML is a small C library to read and write XML files and strings in
491UTF-8 and UTF-16 encoding.")
492 ;; LGPL 2.0+ with additional exceptions for static linking
493 (license license:lgpl2.0+)))
33ae9107
DT
494
495;; TinyXML is an unmaintained piece of software, so the patches and build
496;; system massaging have no upstream potential.
497(define-public tinyxml
498 (package
499 (name "tinyxml")
500 (version "2.6.2")
501 (source (origin
502 (method url-fetch)
503 (uri (string-append "mirror://sourceforge/tinyxml/tinyxml_"
504 (string-join (string-split version #\.) "_")
505 ".tar.gz"))
506 (sha256
507 (base32
508 "14smciid19lvkxqznfig77jxn5s4iq3jpb47vh5a6zcaqp7gvg8m"))
509 (patches (list (search-patch "tinyxml-use-stl.patch")))))
510 (build-system gnu-build-system)
511 ;; This library is missing *a lot* of the steps to make it usable, so we
512 ;; have to add them here, like every other distro must do.
513 (arguments
514 `(#:phases
515 (modify-phases %standard-phases
516 (delete 'configure)
517 (add-after 'build 'build-shared-library
518 (lambda _
519 (zero? (system* "g++" "-Wall" "-O2" "-shared" "-fpic"
520 "tinyxml.cpp" "tinyxmlerror.cpp"
521 "tinyxmlparser.cpp" "tinystr.cpp"
522 "-o" "libtinyxml.so"))))
523 (replace 'check
524 (lambda _ (zero? (system "./xmltest"))))
525 (replace 'install
526 (lambda* (#:key outputs #:allow-other-keys)
527 (let* ((out (assoc-ref outputs "out"))
528 (include (string-append out "/include"))
529 (lib (string-append out "/lib"))
530 (pkgconfig (string-append out "/lib/pkgconfig"))
531 (doc (string-append out "/share/doc")))
532 ;; Install libs and headers.
533 (install-file "libtinyxml.so" lib)
534 (install-file "tinystr.h" include)
535 (install-file "tinyxml.h" include)
536 ;; Generate and install pkg-config file.
537 (mkdir-p pkgconfig)
538 ;; Software such as Kodi expect this file to be present, but
539 ;; it's not provided in the source code.
540 (call-with-output-file (string-append pkgconfig "/tinyxml.pc")
541 (lambda (port)
542 (format port "prefix=~a
543exec_prefix=${prefix}
544libdir=${exec_prefix}/lib
545includedir=${prefix}/include
546
547Name: TinyXML
548Description: A simple, small, C++ XML parser
549Version: ~a
550Libs: -L${libdir} -ltinyxml
551Cflags: -I${includedir}
552"
553 out ,version)))
554 ;; Install docs.
555 (mkdir-p doc)
556 (copy-recursively "docs" (string-append doc "tinyxml"))
557 #t))))))
558 (synopsis "Small XML parser for C++")
559 (description "TinyXML is a small and simple XML parsing library for the
560C++ programming langauge.")
561 (home-page "http://www.grinninglizard.com/tinyxml/index.html")
562 (license license:zlib)))