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
|
||||||
|
(replace 'build
|
||||||
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
||||||
(zero? (apply system* "make" "generic_gcc" make-flags)))
|
(zero? (apply system* "make" "generic_gcc" make-flags))))
|
||||||
(alist-delete 'configure %standard-phases))))
|
(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