mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
gnu: libtiff: Refer to the version number in a more robust way.
* gnu/packages/image.scm (libtiff)[arguments]: Replace use of VERSION with (PACKAGE-VERSION THIS-PACKAGE). (libtiff/fixed): Adjust accordingly.
This commit is contained in:
parent
d4e29f3628
commit
43cbb05f4b
1 changed files with 7 additions and 13 deletions
|
@ -596,11 +596,12 @@ (define-public libtiff
|
|||
"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)
|
||||
"--disable-static")))
|
||||
`(#:configure-flags
|
||||
(list (string-append "--with-docdir="
|
||||
(assoc-ref %outputs "doc")
|
||||
"/share/doc/"
|
||||
,name "-" ,(package-version this-package))
|
||||
"--disable-static")))
|
||||
(inputs `(("zlib" ,zlib)
|
||||
("libjpeg" ,libjpeg-turbo)))
|
||||
(synopsis "Library for handling TIFF files")
|
||||
|
@ -625,14 +626,7 @@ (define-public libtiff/fixed
|
|||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1jrkjv0xya9radddn8idxvs2gqzp3l2b1s8knlizmn7ad3jq817b"))))
|
||||
(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)
|
||||
"--disable-static")))))
|
||||
"1jrkjv0xya9radddn8idxvs2gqzp3l2b1s8knlizmn7ad3jq817b"))))))
|
||||
|
||||
(define-public leptonica
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue