gnu: zip: Use 'modify-phases'.

* gnu/packages/zip.scm (zip)[arguments]: Use 'modify-phases'.
master
Tobias Geerinckx-Rice 2016-08-20 19:27:20 +02:00
parent 8be2428e85
commit 8c120e4f3b
No known key found for this signature in database
GPG Key ID: 91CCDB9B48541B99
1 changed files with 6 additions and 5 deletions

View File

@ -48,11 +48,12 @@
(list "-f" "unix/Makefile"
(string-append "prefix=" out)
(string-append "MANDIR=" out "/share/man/man1")))
#:phases (alist-replace
'build
(lambda* (#:key (make-flags '()) #:allow-other-keys)
(zero? (apply system* "make" "generic_gcc" make-flags)))
(alist-delete 'configure %standard-phases))))
#:phases
(modify-phases %standard-phases
(replace 'build
(lambda* (#:key (make-flags '()) #:allow-other-keys)
(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