gnu: libesmtp: Build from Git sources.

* gnu/packages/mail.scm (libesmtp)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
[native-inputs]: Add autoconf, automake, and libtool.
This commit is contained in:
Tobias Geerinckx-Rice 2021-06-30 15:28:14 +02:00
parent 5434f6f893
commit 9636591edf
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2317,19 +2317,18 @@ (define-public libesmtp
(version "1.0.6")
(source
(origin
(method url-fetch)
(uri (list (string-append "https://pkgs.fedoraproject.org/repo/pkgs/"
"libesmtp/libesmtp-" version ".tar.bz2/"
"bf3915e627fd8f35524a8fdfeed979c8/libesmtp-"
version ".tar.bz2")
;; XXX This site is offline, so we fetch Fedora's cached copy
;; of the source tarball.
(string-append "http://www.stafford.uklinux.net/libesmtp/libesmtp-"
version ".tar.bz2")))
(method git-fetch)
(uri (git-reference
(url "https://github.com/libesmtp/libESMTP")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"02zbniyz7qys1jmx3ghx21kxmns1wc3hmv80gp7ag7yra9f1m9nh"))))
(base32 "0pylvjpdf92i0j9bl43sg37k1ksbzk1k7cgdk91kkcc0krh0r09g"))))
(build-system gnu-build-system)
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)))
(propagated-inputs
`(("openssl" ,openssl)))
(home-page "http://www.stafford.uklinux.net/libesmtp/")