mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-15 07:27:48 -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,10 +596,11 @@ (define-public libtiff
|
||||||
"doc")) ;1.3 MiB of HTML documentation
|
"doc")) ;1.3 MiB of HTML documentation
|
||||||
(arguments
|
(arguments
|
||||||
;; Instead of using --docdir, this package has its own --with-docdir.
|
;; Instead of using --docdir, this package has its own --with-docdir.
|
||||||
`(#:configure-flags (list (string-append "--with-docdir="
|
`(#:configure-flags
|
||||||
|
(list (string-append "--with-docdir="
|
||||||
(assoc-ref %outputs "doc")
|
(assoc-ref %outputs "doc")
|
||||||
"/share/doc/"
|
"/share/doc/"
|
||||||
,name "-" ,version)
|
,name "-" ,(package-version this-package))
|
||||||
"--disable-static")))
|
"--disable-static")))
|
||||||
(inputs `(("zlib" ,zlib)
|
(inputs `(("zlib" ,zlib)
|
||||||
("libjpeg" ,libjpeg-turbo)))
|
("libjpeg" ,libjpeg-turbo)))
|
||||||
|
@ -625,14 +626,7 @@ (define-public libtiff/fixed
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1jrkjv0xya9radddn8idxvs2gqzp3l2b1s8knlizmn7ad3jq817b"))))
|
"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")))))
|
|
||||||
|
|
||||||
(define-public leptonica
|
(define-public leptonica
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue