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"
|
||||
(string-append "prefix=" out)
|
||||
(string-append "MANDIR=" out "/share/man/man1")))
|
||||
#:phases (alist-replace
|
||||
'build
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'build
|
||||
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
||||
(zero? (apply system* "make" "generic_gcc" make-flags)))
|
||||
(alist-delete 'configure %standard-phases))))
|
||||
(zero? (apply system* "make" "generic_gcc" make-flags))))
|
||||
(delete 'configure))))
|
||||
(home-page "http://www.info-zip.org/Zip.html")
|
||||
(synopsis "Compression and file packing utility")
|
||||
(description
|
||||
|
|
Loading…
Reference in New Issue