mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 11:00:36 +02:00
gnu: Use INSTALL-FILE where appropriate.
* gnu/packages/admin.scm (wpa-supplicant-minimal): Substitute the simpler INSTALL-FILE for COPY-FILE when invoked with redundant arguments. * gnu/packages/bioinformatics.scm (couger, aragorn, express-beta-diversity, edirect, fasttree, rsem, samtools-0.1): Likewise. * gnu/packages/code.scm (withershins): Likewise. * gnu/packages/conky.scm (conky): Likewise. * gnu/packages/debug.scm (delta, american-fuzzy-lop): Likewise. * gnu/packages/emacs.scm (emacs-mit-scheme-doc): Likewise. * gnu/packages/engineering.scm (librecad): Likewise.
This commit is contained in:
parent
618e4bfbad
commit
f38607536e
7 changed files with 38 additions and 49 deletions
|
@ -271,13 +271,13 @@ features that are not supported by the standard @code{stdio} implementation.")
|
|||
(replace
|
||||
'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(mkdir-p (string-append out "/lib"))
|
||||
(mkdir (string-append out "/include"))
|
||||
(copy-file "src/withershins.hpp"
|
||||
(string-append out "/include/withershins.hpp"))
|
||||
(copy-file "src/libwithershins.a"
|
||||
(string-append out "/lib/libwithershins.a")))
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(include (string-append out "/include"))
|
||||
(lib (string-append out "/lib")))
|
||||
(mkdir-p include)
|
||||
(install-file "src/withershins.hpp" include)
|
||||
(mkdir-p lib)
|
||||
(install-file "src/libwithershins.a" lib))
|
||||
#t)))))
|
||||
(home-page "https://github.com/cameronwhite/withershins")
|
||||
(inputs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue