mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: cpufrequtils: Update to 008-1.a2f0c39.
Fixes build failure on non-x86 architectures, and brings cpufrequtils to the state of the art from 2011. * gnu/packages/linux.scm (cpufrequtils)[version]: Use git-version. [source]: Use git-fetch.
This commit is contained in:
parent
8a208df17f
commit
7902d17bc8
1 changed files with 41 additions and 37 deletions
|
@ -4910,45 +4910,49 @@ (define-public sysfsutils
|
||||||
(license (list license:gpl2 license:gpl2+ license:lgpl2.1+))))
|
(license (list license:gpl2 license:gpl2+ license:lgpl2.1+))))
|
||||||
|
|
||||||
(define-public cpufrequtils
|
(define-public cpufrequtils
|
||||||
(package
|
(let ((commit "a2f0c39d5f21596bb9f5223e895c0ff210b265d0")
|
||||||
(name "cpufrequtils")
|
(revision "1"))
|
||||||
(version "008")
|
(package
|
||||||
(source
|
(name "cpufrequtils")
|
||||||
(origin
|
(version (git-version "008" revision commit ))
|
||||||
(method url-fetch)
|
(source
|
||||||
(uri (string-append "mirror://kernel.org/linux/utils/kernel/cpufreq/"
|
(origin
|
||||||
"cpufrequtils-" version ".tar.gz"))
|
(method git-fetch)
|
||||||
(sha256
|
(uri
|
||||||
(base32 "0xjs8j44hh0cz6qpig1n0iw8xjpr6s5qmcmwh965ngapxgarr7af"))))
|
(git-reference
|
||||||
(build-system gnu-build-system)
|
(url "https://git.kernel.org/pub/scm/linux/kernel/git/brodo/cpufrequtils.git")
|
||||||
(arguments
|
(commit commit)))
|
||||||
`(#:tests? #f ; no test suite
|
(sha256
|
||||||
#:make-flags
|
(base32 "01n2hp6v89cilqqvqvlcprphyhnljsjclh4h1zf3b1l7ypz29lbp"))))
|
||||||
(let ((out (assoc-ref %outputs "out")))
|
(build-system gnu-build-system)
|
||||||
(list "PROC=false" ; obsoleted by sysfs in Linux 2.6(!)
|
(arguments
|
||||||
(string-append "CC=" ,(cc-for-target))
|
`(#:tests? #f ; no test suite
|
||||||
(string-append "LDFLAGS=-Wl,-rpath=" out "/lib")
|
#:make-flags
|
||||||
"INSTALL=install"
|
(let ((out (assoc-ref %outputs "out")))
|
||||||
(string-append "bindir=" out "/bin")
|
(list "PROC=false" ; obsoleted by sysfs in Linux 2.6(!)
|
||||||
(string-append "sbindir=" out "/sbin")
|
(string-append "CC=" ,(cc-for-target))
|
||||||
(string-append "mandir=" out "/share/man")
|
(string-append "LDFLAGS=-Wl,-rpath=" out "/lib")
|
||||||
(string-append "includedir=" out "/include")
|
"INSTALL=install"
|
||||||
(string-append "libdir=" out "/lib")
|
(string-append "bindir=" out "/bin")
|
||||||
(string-append "localedir=" out "/share/locale")
|
(string-append "sbindir=" out "/sbin")
|
||||||
(string-append "docdir=" out "/share/doc/" ,name)))
|
(string-append "mandir=" out "/share/man")
|
||||||
#:phases
|
(string-append "includedir=" out "/include")
|
||||||
(modify-phases %standard-phases
|
(string-append "libdir=" out "/lib")
|
||||||
(delete 'configure)))) ; no configure script
|
(string-append "localedir=" out "/share/locale")
|
||||||
(native-inputs
|
(string-append "docdir=" out "/share/doc/" ,name)))
|
||||||
`(("gettext" ,gettext-minimal)))
|
#:phases
|
||||||
(home-page
|
(modify-phases %standard-phases
|
||||||
"http://ftp.be.debian.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html")
|
(delete 'configure)))) ; no configure script
|
||||||
(synopsis "Utilities to get and set CPU frequency on Linux")
|
(native-inputs
|
||||||
(description
|
`(("gettext" ,gettext-minimal)))
|
||||||
"The cpufrequtils suite contains utilities to retrieve CPU frequency
|
(home-page
|
||||||
|
"http://ftp.be.debian.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html")
|
||||||
|
(synopsis "Utilities to get and set CPU frequency on Linux")
|
||||||
|
(description
|
||||||
|
"The cpufrequtils suite contains utilities to retrieve CPU frequency
|
||||||
information, and set the CPU frequency if supported, using the cpufreq
|
information, and set the CPU frequency if supported, using the cpufreq
|
||||||
capabilities of the Linux kernel.")
|
capabilities of the Linux kernel.")
|
||||||
(license license:gpl2)))
|
(license license:gpl2))))
|
||||||
|
|
||||||
(define-public libite
|
(define-public libite
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue