gnu: zlib: Use 'modify-phases' syntax.
* gnu/packages/compression.scm (zlib)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
2b8bea03b6
commit
6cd0045347
|
@ -64,8 +64,9 @@
|
||||||
"18dighcs333gsvajvvgqp8l4cx7h1x7yx9gd5xacnk80spyykrf3"))))
|
"18dighcs333gsvajvvgqp8l4cx7h1x7yx9gd5xacnk80spyykrf3"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (alist-replace
|
`(#:phases
|
||||||
'configure
|
(modify-phases %standard-phases
|
||||||
|
(replace 'configure
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
;; Zlib's home-made `configure' fails when passed
|
;; Zlib's home-made `configure' fails when passed
|
||||||
;; extra flags like `--enable-fast-install', so we need to
|
;; extra flags like `--enable-fast-install', so we need to
|
||||||
|
@ -77,8 +78,7 @@
|
||||||
'())
|
'())
|
||||||
(zero?
|
(zero?
|
||||||
(system* "./configure"
|
(system* "./configure"
|
||||||
(string-append "--prefix=" out)))))
|
(string-append "--prefix=" out)))))))))
|
||||||
%standard-phases)))
|
|
||||||
(home-page "http://zlib.net/")
|
(home-page "http://zlib.net/")
|
||||||
(synopsis "Compression library")
|
(synopsis "Compression library")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue