nckx pushed a commit to branch master
in repository guix.
commit 81d95a121aa2c73c72f26266c2971dc398380d55
Author: Tobias Geerinckx-Rice <[email protected]>
Date: Mon Mar 27 20:10:44 2017 +0200
gnu: corkscrew: Install the README file.
* gnu/packages/ssh.scm (corkscrew)[arguments]: Add a very basic
‘install-documentation’ phase.
---
gnu/packages/ssh.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index b5c73ea..4ac9a75 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2016 Leo Famulari <[email protected]>
;;; Copyright © 2016 Nicolas Goaziou <[email protected]>
;;; Copyright © 2016 Christopher Allan Webber <[email protected]>
+;;; Copyright © 2017 Tobias Geerinckx-Rice <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -290,7 +291,13 @@ libssh library.")
(setenv "CONFIG_SHELL" bash)
(zero? (apply system* bash
(string-append "." "/configure")
- flags))))))))
+ flags)))))
+ (add-after 'install 'install-documentation
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (string-append out "/share/doc/corkscrew")))
+ (install-file "README" doc)
+ #t))))))
(home-page "http://www.agroman.net/corkscrew")
(synopsis "SSH tunneling through HTTP(S) proxies")
(description