mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-26 18:35:19 +01:00
nongnu: intel-microcode: Use gnu-build-system.
* nongnu/packages/linux.scm (intel-microcode): Use gnu-build-system..
This commit is contained in:
parent
1f18a083c8
commit
304da1fffb
1 changed files with 15 additions and 14 deletions
|
@ -668,21 +668,22 @@ chipsets from Broadcom:
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0pzi5qmrcrdf6nsds4bvyq1hnvv9d1dlrvqrbzcrpxk84rcjwq1x"))))
|
"0pzi5qmrcrdf6nsds4bvyq1hnvv9d1dlrvqrbzcrpxk84rcjwq1x"))))
|
||||||
(build-system trivial-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules ((guix build utils))
|
`(#:tests? #f
|
||||||
#:builder
|
#:phases
|
||||||
(begin
|
(modify-phases %standard-phases
|
||||||
(use-modules (guix build utils))
|
(delete 'configure)
|
||||||
(let* ((source (assoc-ref %build-inputs "source"))
|
(delete 'build)
|
||||||
(fw-dir (string-append %output "/lib/firmware"))
|
(replace 'install
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(fw-dir (string-append out "/lib/firmware"))
|
||||||
(bin-dir (string-append fw-dir "/intel-ucode")))
|
(bin-dir (string-append fw-dir "/intel-ucode")))
|
||||||
(mkdir-p bin-dir)
|
(mkdir-p bin-dir)
|
||||||
(copy-recursively (string-append source "/intel-ucode") bin-dir)
|
(copy-recursively "intel-ucode" bin-dir)
|
||||||
(copy-file
|
#t)))
|
||||||
(string-append source "/license")
|
(delete 'validate-runpath))))
|
||||||
(string-append fw-dir "/LICENSE.intel-ucode"))
|
|
||||||
#t))))
|
|
||||||
(home-page
|
(home-page
|
||||||
"https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files")
|
"https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files")
|
||||||
(synopsis "Processor microcode firmware for Intel CPUs")
|
(synopsis "Processor microcode firmware for Intel CPUs")
|
||||||
|
|
Loading…
Reference in a new issue