gnu: zip: Use 'modify-phases'.
* gnu/packages/zip.scm (zip)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
8be2428e85
commit
8c120e4f3b
|
@ -48,11 +48,12 @@
|
||||||
(list "-f" "unix/Makefile"
|
(list "-f" "unix/Makefile"
|
||||||
(string-append "prefix=" out)
|
(string-append "prefix=" out)
|
||||||
(string-append "MANDIR=" out "/share/man/man1")))
|
(string-append "MANDIR=" out "/share/man/man1")))
|
||||||
#:phases (alist-replace
|
#:phases
|
||||||
'build
|
(modify-phases %standard-phases
|
||||||
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
(replace 'build
|
||||||
(zero? (apply system* "make" "generic_gcc" make-flags)))
|
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
||||||
(alist-delete 'configure %standard-phases))))
|
(zero? (apply system* "make" "generic_gcc" make-flags))))
|
||||||
|
(delete 'configure))))
|
||||||
(home-page "http://www.info-zip.org/Zip.html")
|
(home-page "http://www.info-zip.org/Zip.html")
|
||||||
(synopsis "Compression and file packing utility")
|
(synopsis "Compression and file packing utility")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue