gnu: dmidecode: Update to 3.3.

* gnu/packages/admin.scm (dmidecode): Update to 3.3.
[arguments]: Restructure.  Add CC to #:make-flags.
This commit is contained in:
Tobias Geerinckx-Rice 2020-10-15 23:37:28 +02:00
parent 6688aed408
commit 6f19c32b0e
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View File

@ -1809,21 +1809,24 @@ network, which causes enabled computers to power on.")
(define-public dmidecode (define-public dmidecode
(package (package
(name "dmidecode") (name "dmidecode")
(version "3.2") (version "3.3")
(source (origin (source
(method url-fetch) (origin
(uri (string-append (method url-fetch)
"mirror://savannah/dmidecode/dmidecode-" (uri (string-append "mirror://savannah/dmidecode/dmidecode-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32 "0m8lzg9rf1qssasiix672bxk5qwms90561g8hfkkhk31h2kkgiw2"))))
"1pcfhcgs2ifdjwp7amnsr3lq95pgxpr150bjhdinvl505px0cw07"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:phases (modify-phases %standard-phases (delete 'configure)) `(#:tests? #f ; no 'check' target
#:tests? #f ; no 'check' target #:make-flags
#:make-flags (list (string-append "prefix=" (list (string-append "CC=" ,(cc-for-target))
(assoc-ref %outputs "out"))))) (string-append "prefix="
(assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
(delete 'configure)))) ; no configure script
(home-page "https://www.nongnu.org/dmidecode/") (home-page "https://www.nongnu.org/dmidecode/")
(synopsis "Read hardware information from the BIOS") (synopsis "Read hardware information from the BIOS")
(description (description