gnu: powerstat: Update to 0.02.26.

* gnu/packages/linux.scm (powerstat): Update to 0.02.26.
[arguments]: Remove obsolete 'respect-$prefix phase.
This commit is contained in:
Tobias Geerinckx-Rice 2021-06-29 03:12:28 +02:00
parent 1ef68130a3
commit 16c0380871
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1532,14 +1532,14 @@ (define-public python-pamela
(define-public powerstat
(package
(name "powerstat")
(version "0.02.25")
(version "0.02.26")
(source
(origin
(method url-fetch)
(uri (string-append "https://kernel.ubuntu.com/~cking/tarballs/"
"powerstat/powerstat-" version ".tar.gz"))
(sha256
(base32 "0dmixbxm4qd08ds26i0wvxwyy8nrjzfjj2q9ylx35564g4wh58qb"))))
(base32 "18m85k83hryj05vix63fay1hh0sb9h87hy5r7g1dqg2y9i8lzgxk"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
@ -1548,12 +1548,6 @@ (define-public powerstat
#:tests? #f ; no test suite
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'respect-$prefix
;; https://bugs.launchpad.net/ubuntu/+source/powerstat/+bug/1877744
(lambda _
(substitute* "Makefile"
(("DIR=/usr/") "DIR=$(prefix)/"))
#t))
(delete 'configure)))) ; no configure script
(home-page "https://kernel.ubuntu.com/~cking/powerstat/")
(synopsis "Measure system power consumption")