gnu: turbostat: Use G-expressions.
* gnu/packages/linux.scm (turbostat)[arguments]: Rewrite as G-expressions. Change-Id: I5e2cf484692cda608d0144f4b35c63770301aadd
This commit is contained in:
parent
109a2485d7
commit
e87845ee2d
1 changed files with 11 additions and 11 deletions
|
@ -6618,17 +6618,17 @@ (define-public turbostat
|
|||
(source (package-source linux-libre))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no test suite
|
||||
#:make-flags
|
||||
(list (string-append "CC=" ,(cc-for-target))
|
||||
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'enter-subdirectory
|
||||
(lambda _
|
||||
(chdir "tools/power/x86/turbostat")
|
||||
#t))
|
||||
(delete 'configure)))) ; no configure script
|
||||
(list
|
||||
#:tests? #f ;no test suite
|
||||
#:make-flags
|
||||
#~(list (string-append "CC=" #$(cc-for-target))
|
||||
(string-append "PREFIX=" #$output))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'enter-subdirectory
|
||||
(lambda _
|
||||
(chdir "tools/power/x86/turbostat")))
|
||||
(delete 'configure)))) ;no configure script
|
||||
(inputs
|
||||
(list libcap))
|
||||
(supported-systems '("i686-linux" "x86_64-linux"))
|
||||
|
|
Loading…
Reference in a new issue