gnu: Add sysfsutils-1.
* gnu/packages/linux.scm (sysfsutils-1): New variable.
This commit is contained in:
parent
37f5caec4e
commit
a9a1a40b50
|
@ -1937,3 +1937,27 @@ also contains the libsysfs library.")
|
|||
;; The library is under lgpl2.1+ (all files say "or any later version").
|
||||
;; The rest is mostly gpl2, with a few files indicating gpl2+.
|
||||
(license (list gpl2 gpl2+ lgpl2.1+))))
|
||||
|
||||
(define-public sysfsutils-1
|
||||
(package
|
||||
(inherit sysfsutils)
|
||||
(version "1.3.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
(string-append
|
||||
"mirror://sourceforge/linux-diag/sysfsutils/sysfsutils-" version
|
||||
"/sysfsutils-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0kdhs07fm8263pxwd5blwn2x211cg4fk63fyf9ijcdkvzmwxrqq3"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
(substitute* "Makefile.in"
|
||||
(("includedir = /usr/include/sysfs")
|
||||
"includedir = @includedir@"))
|
||||
(substitute* "configure"
|
||||
(("includedir='(\\$\\{prefix\\}/include)'" all orig)
|
||||
(string-append "includedir='" orig "/sysfs'")))))))
|
||||
(synopsis "System utilities based on Linux sysfs (version 1.x)")))
|
||||
|
|
Loading…
Reference in New Issue