mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-15 15:37:54 -05:00
gnu: git-crypt: Install man page.
* gnu/packages/version-control.scm (git-crypt)[native-inputs]: Add dockbook-xsl, libxslt. [arguments]: Add phase patch-makefile.
This commit is contained in:
parent
57f90b2a24
commit
ddc5e74684
1 changed files with 15 additions and 2 deletions
|
@ -609,20 +609,33 @@ (define-public git-crypt
|
||||||
(inputs
|
(inputs
|
||||||
`(("git" ,git)
|
`(("git" ,git)
|
||||||
("openssl" ,openssl)))
|
("openssl" ,openssl)))
|
||||||
|
(native-inputs
|
||||||
|
`(("docbook-xsl" ,docbook-xsl)
|
||||||
|
("libxslt" ,libxslt)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; No tests.
|
`(#:tests? #f ; No tests.
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
|
(add-after 'unpack 'patch-makefile
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "Makefile"
|
||||||
|
(("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
|
||||||
|
(string-append (assoc-ref inputs "docbook-xsl")
|
||||||
|
"/xml/xsl/docbook-xsl-"
|
||||||
|
,(package-version docbook-xsl)
|
||||||
|
"/manpages/docbook.xsl")))
|
||||||
|
#t))
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "make")))
|
(invoke "make" "ENABLE_MAN=yes")))
|
||||||
(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")))
|
||||||
(invoke "make" "install"
|
(invoke "make" "install"
|
||||||
|
"ENABLE_MAN=yes"
|
||||||
(string-append "PREFIX=" out))))))))
|
(string-append "PREFIX=" out))))))))
|
||||||
(home-page "https://www.agwa.name/projects/git-crypt")
|
(home-page "https://www.agwa.name/projects/git-crypt/")
|
||||||
(synopsis "Transparent encryption of files in a git repository")
|
(synopsis "Transparent encryption of files in a git repository")
|
||||||
(description "git-crypt enables transparent encryption and decryption of
|
(description "git-crypt enables transparent encryption and decryption of
|
||||||
files in a git repository. Files which you choose to protect are encrypted when
|
files in a git repository. Files which you choose to protect are encrypted when
|
||||||
|
|
Loading…
Reference in a new issue