gnu: b43-tools: Update phase style.

* gnu/packages/firmware.scm (b43-tools)[arguments]: Substitute INVOKE
for SYSTEM* and FOR-EACH for EVERY, and end phases with #t.
This commit is contained in:
Tobias Geerinckx-Rice 2018-03-01 23:19:27 +01:00
parent bb5c358204
commit 315c89f5ba
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -130,19 +130,20 @@ (define-public b43-tools
#t))
(replace 'build
(lambda _
(every (lambda (dir)
(zero? (system* "make" "-C" dir "CC=gcc")))
subdirs)))
(for-each (lambda (dir)
(invoke "make" "-C" dir "CC=gcc"))
subdirs)
#t))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(mkdir-p (string-append out "/bin"))
(every (lambda (dir)
(zero?
(system* "make" "-C" dir
(string-append "PREFIX=" out)
"install")))
subdirs))))))))
(for-each (lambda (dir)
(invoke "make" "-C" dir
(string-append "PREFIX=" out)
"install"))
subdirs)
#t)))))))
(home-page
"http://bues.ch/cms/hacking/misc.html#linux_b43_driver_firmware_tools")
(synopsis "Collection of tools for the b43 wireless driver")