gnu: libstrophe: Improve package definition.
* gnu/packages/messaging.scm (libstrophe)[phases]: Use gexps. {install-extra-license-files}: New phase. [home-page]: Use https and add trailing /. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
parent
03524641de
commit
a5f20bebdc
|
@ -34,6 +34,7 @@
|
||||||
;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
|
;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
|
||||||
;;; Copyright © 2022 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2022 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
|
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
|
||||||
|
;;; Copyright © 2022 Jack Hill <jackhill@jackhill.us>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -2113,14 +2114,20 @@ manual SSL certificate verification.")
|
||||||
(base32 "1apply301lxyjax2677bd5mc0a3233nm5qb7fiqpawq2n7vh17v0"))))
|
(base32 "1apply301lxyjax2677bd5mc0a3233nm5qb7fiqpawq2n7vh17v0"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags (list "--disable-static")
|
(list #:configure-flags '(list "--disable-static")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-make
|
(add-after 'unpack 'patch-make
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Makefile.am"
|
(substitute* "Makefile.am"
|
||||||
(("'\\^xmpp_'") "'.'"))
|
(("'\\^xmpp_'") "'.'"))
|
||||||
#t)))))
|
#t))
|
||||||
|
(add-after 'install-licence-files 'install-extra-licence-files
|
||||||
|
(lambda _
|
||||||
|
(let ((license-directory (string-append #$output
|
||||||
|
"/share/doc/"
|
||||||
|
#$name "-" #$version "/")))
|
||||||
|
(install-file "MIT-LICENSE.txt" license-directory)))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list expat openssl))
|
(list expat openssl))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
@ -2129,7 +2136,7 @@ manual SSL certificate verification.")
|
||||||
(description "Libstrophe is a minimal XMPP library written in C. It has
|
(description "Libstrophe is a minimal XMPP library written in C. It has
|
||||||
almost no external dependencies, only an XML parsing library (expat or libxml
|
almost no external dependencies, only an XML parsing library (expat or libxml
|
||||||
are both supported).")
|
are both supported).")
|
||||||
(home-page "http://strophe.im/libstrophe")
|
(home-page "https://strophe.im/libstrophe/")
|
||||||
;; Dual-licensed.
|
;; Dual-licensed.
|
||||||
(license (list license:gpl3+ license:x11))))
|
(license (list license:gpl3+ license:x11))))
|
||||||
|
|
||||||
|
|
Reference in New Issue