gnu: scrypt: Install licence file with documentation.
* gnu/packages/crypto.scm (scrypt)[arguments]: Add a #:license-file-regexp and install the documentation to the same standard location.
This commit is contained in:
parent
5a9f2ae19b
commit
a0484d9ff7
1 changed files with 4 additions and 3 deletions
|
@ -529,7 +529,8 @@ user's graphical desktop.")
|
||||||
"0xy5yhrwwv13skv9im9vm76rybh9f29j2dh4hlh2x01gvbkza8a6"))))
|
"0xy5yhrwwv13skv9im9vm76rybh9f29j2dh4hlh2x01gvbkza8a6"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
`(#:license-file-regexp "COPYRIGHT"
|
||||||
|
#:phases (modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-command-invocations
|
(add-after 'unpack 'patch-command-invocations
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Makefile.in"
|
(substitute* "Makefile.in"
|
||||||
|
@ -538,8 +539,8 @@ user's graphical desktop.")
|
||||||
(add-after 'install 'install-docs
|
(add-after 'install 'install-docs
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref %outputs "out"))
|
(let* ((out (assoc-ref %outputs "out"))
|
||||||
(misc (string-append out "/share/doc/scrypt")))
|
(doc (string-append out "/share/doc/" ,name "-" ,version)))
|
||||||
(install-file "FORMAT" misc)
|
(install-file "FORMAT" doc)
|
||||||
#t))))))
|
#t))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("openssl" ,openssl)))
|
`(("openssl" ,openssl)))
|
||||||
|
|
Reference in a new issue