gnu: p7zip: Remove input labels.

* gnu/packages/compression.scm (p7zip)[native-inputs]: Rewrite using
target macros and remove labels.
This commit is contained in:
Efraim Flashner 2021-08-08 10:58:47 +03:00
parent 86fd77476d
commit 543aab8992
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1350,13 +1350,11 @@ (define-public p7zip
(invoke "make" "test_7z") (invoke "make" "test_7z")
(invoke "make" "test_7zr"))))))) (invoke "make" "test_7zr")))))))
(native-inputs (native-inputs
(let ((system (or (%current-target-system) (cond ((target-x86-64?)
(%current-system)))) (list yasm))
`(,@(cond ((string-prefix? "x86_64" system) ((target-x86-32?)
`(("yasm" ,yasm))) (list nasm))
((string-prefix? "i686" system) (else '())))
`(("nasm" ,nasm)))
(else '())))))
(home-page "http://p7zip.sourceforge.net/") (home-page "http://p7zip.sourceforge.net/")
(synopsis "Command-line file archiver with high compression ratio") (synopsis "Command-line file archiver with high compression ratio")
(description "p7zip is a command-line port of 7-Zip, a file archiver that (description "p7zip is a command-line port of 7-Zip, a file archiver that