gnu: lsof: Shorten 'install phase.
* gnu/packages/lsof.scm (lsof)[arguments]: Use 'install-file during the 'install phase.
This commit is contained in:
parent
b6ea329a32
commit
4ae3549f7c
|
@ -72,13 +72,9 @@
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(mkdir out)
|
(install-file "lsof" (string-append out "/bin"))
|
||||||
(mkdir (string-append out "/bin"))
|
(install-file "lsof.8" (string-append out "/share/man/man8")))
|
||||||
(copy-file "lsof" (string-append out "/bin/lsof"))
|
#t)))))
|
||||||
(mkdir (string-append out "/share"))
|
|
||||||
(mkdir (string-append out "/share/man"))
|
|
||||||
(mkdir (string-append out "/share/man/man8"))
|
|
||||||
(copy-file "lsof.8" (string-append out "/share/man/man8/lsof.8"))))))))
|
|
||||||
(synopsis "Display information about open files")
|
(synopsis "Display information about open files")
|
||||||
(description
|
(description
|
||||||
"Lsof stands for LiSt Open Files, and it does just that.
|
"Lsof stands for LiSt Open Files, and it does just that.
|
||||||
|
|
Loading…
Reference in New Issue