mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: cpufrequtils: Update to 008.
* gnu/packages/linux.scm (cpufrequtils): Update to 008. [source]: Remove patch. [arguments]: Add many #:configure-flags to mitigate downgrade from Autotools. Don't ./configure. [native-inputs]: Remove unused sysfsutils-1. Add gettext-minimal. [home-page]: Change to a working mirror. * gnu/packages/patches/cpufrequtils-fix-aclocal.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it.
This commit is contained in:
parent
ec46a5338d
commit
848581ae9b
3 changed files with 23 additions and 55 deletions
|
@ -4780,22 +4780,37 @@ also contains the libsysfs library.")
|
|||
(define-public cpufrequtils
|
||||
(package
|
||||
(name "cpufrequtils")
|
||||
(version "0.3")
|
||||
(version "008")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://kernel.org/linux/utils/kernel/cpufreq/"
|
||||
"cpufrequtils-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0qfqv7nqmjfr3p0bwrdlxkiqwqr7vmx053cadaa548ybqbghxmvm"))
|
||||
(patches (search-patches "cpufrequtils-fix-aclocal.patch"))))
|
||||
(base32 "0xjs8j44hh0cz6qpig1n0iw8xjpr6s5qmcmwh965ngapxgarr7af"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("sysfsutils" ,sysfsutils-1)))
|
||||
(arguments
|
||||
'(#:make-flags (list (string-append "LDFLAGS=-Wl,-rpath="
|
||||
(assoc-ref %outputs "out") "/lib"))))
|
||||
(home-page "https://www.kernel.org/pub/linux/utils/kernel/cpufreq/")
|
||||
`(#:tests? #f ; no test suite
|
||||
#:make-flags
|
||||
(let ((out (assoc-ref %outputs "out")))
|
||||
(list "PROC=false" ; obsoleted by sysfs in Linux 2.6(!)
|
||||
(string-append "CC=" ,(cc-for-target))
|
||||
(string-append "LDFLAGS=-Wl,-rpath=" out "/lib")
|
||||
"INSTALL=install"
|
||||
(string-append "bindir=" out "/bin")
|
||||
(string-append "sbindir=" out "/sbin")
|
||||
(string-append "mandir=" out "/share/man")
|
||||
(string-append "includedir=" out "/include")
|
||||
(string-append "libdir=" out "/lib")
|
||||
(string-append "localedir=" out "/share/locale")
|
||||
(string-append "docdir=" out "/share/doc/" ,name)))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)))) ; no configure script
|
||||
(native-inputs
|
||||
`(("gettext" ,gettext-minimal)))
|
||||
(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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue