gnu: lm-sensors: Add "lib" output.
* gnu/packages/linux.scm (lm-sensors)[outputs]: Add "lib". [arguments]: Fix up make flags. (xsensors)[inputs]: Adjust accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
66660960ba
commit
8ddf20b286
1 changed files with 8 additions and 3 deletions
|
@ -2368,11 +2368,16 @@ country-specific regulations for the wireless spectrum.")
|
||||||
("flex" ,flex)
|
("flex" ,flex)
|
||||||
("bison" ,bison)
|
("bison" ,bison)
|
||||||
("which" ,which)))
|
("which" ,which)))
|
||||||
|
(outputs '("lib" ;avoid perl in closure
|
||||||
|
"out"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no 'check' target
|
`(#:tests? #f ; no 'check' target
|
||||||
#:make-flags (list (string-append "PREFIX=" %output)
|
#:make-flags (list (string-append "PREFIX=" %output)
|
||||||
(string-append "ETCDIR=" %output "/etc")
|
(string-append "ETCDIR=" (assoc-ref %outputs "lib") "/etc")
|
||||||
(string-append "MANDIR=" %output "/share/man"))
|
(string-append "INCLUDEDIR="
|
||||||
|
(assoc-ref %outputs "lib") "/include")
|
||||||
|
(string-append "MANDIR=" %output "/share/man")
|
||||||
|
(string-append "LIBDIR=" (assoc-ref %outputs "lib") "/lib"))
|
||||||
#:phases
|
#:phases
|
||||||
(alist-delete
|
(alist-delete
|
||||||
'configure
|
'configure
|
||||||
|
@ -2462,7 +2467,7 @@ SMBus access.")
|
||||||
(base32
|
(base32
|
||||||
"1siplsfgvcxamyqf44h71jx6jdfmvhfm7mh0y1q8ps4zs6pj2zwh"))))
|
"1siplsfgvcxamyqf44h71jx6jdfmvhfm7mh0y1q8ps4zs6pj2zwh"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs `(("lm-sensors" ,lm-sensors)
|
(inputs `(("lm-sensors" ,lm-sensors "lib")
|
||||||
("gtk" ,gtk+-2)))
|
("gtk" ,gtk+-2)))
|
||||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||||
(arguments
|
(arguments
|
||||||
|
|
Reference in a new issue