gnu: libtiff: Add "doc" output.

* gnu/packages/image.scm (libtiff)[outputs, arguments]: New fields.
This commit is contained in:
Ludovic Courtès 2015-09-09 15:25:05 +02:00
parent c5d8e688dc
commit 6f6eb85760
1 changed files with 8 additions and 0 deletions

View File

@ -114,6 +114,14 @@ image files in PBMPLUS PPM/PGM, GIF, BMP, and Targa file formats.")
(sha256 (base32 (sha256 (base32
"171hgy4mylwmvdm7gp6ffjva81m4j56v3fbqsbfl7avzxn1slpp2")))) "171hgy4mylwmvdm7gp6ffjva81m4j56v3fbqsbfl7avzxn1slpp2"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs '("out"
"doc")) ;1.3 MiB of HTML documentation
(arguments
;; Instead of using --docdir, this package has its own --with-docdir.
`(#:configure-flags (list (string-append "--with-docdir="
(assoc-ref %outputs "doc")
"/share/doc/"
,name "-" ,version))))
(inputs `(("zlib" ,zlib) (inputs `(("zlib" ,zlib)
("libjpeg" ,libjpeg))) ("libjpeg" ,libjpeg)))
(synopsis "Library for handling TIFF files") (synopsis "Library for handling TIFF files")