gnu: asio: Update to 1.12.1.

* gnu/packages/networking.scm (asio): Update to 1.12.1.
[source]: Use upstream release tarballs.
[native-inputs, arguments]: Remove cruft needed to build from git.
This commit is contained in:
Tobias Geerinckx-Rice 2018-08-10 02:47:51 +02:00
parent 28e14a6726
commit cb9da5d171
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 21 deletions

View File

@ -1897,23 +1897,16 @@ eight bytes) tools
(define-public asio (define-public asio
(package (package
(name "asio") (name "asio")
(version "1.12.0") (version "1.12.1")
(source (source
(origin (origin
(method git-fetch) (method url-fetch)
(uri (git-reference (uri (string-append "mirror://sourceforge/asio/asio/"
(url "https://github.com/chriskohlhoff/asio.git") version " (Stable)/" name "-" version ".tar.bz2"))
(commit (string-join (cons name (string-split version #\.))
"-"))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"04dg8kpgriay7q62mqcq2gl439k5y4mf761zghsd6wfl0farh3mx")))) "0nln45662kg799ykvqx5m9z9qcsmadmgg6r5najryls7x16in2d9"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)))
(inputs (inputs
`(("boost" ,boost) `(("boost" ,boost)
("openssl" ,openssl))) ("openssl" ,openssl)))
@ -1921,15 +1914,7 @@ eight bytes) tools
`(#:configure-flags `(#:configure-flags
(list (list
(string-append "--with-boost=" (assoc-ref %build-inputs "boost")) (string-append "--with-boost=" (assoc-ref %build-inputs "boost"))
(string-append "--with-openssl=" (assoc-ref %build-inputs "openssl"))) (string-append "--with-openssl=" (assoc-ref %build-inputs "openssl")))))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chdir-to-asio
(lambda _
(chdir "asio")))
(add-before 'configure 'bootstrap
(lambda _
(invoke "sh" "autogen.sh"))))))
(home-page "https://think-async.com/Asio") (home-page "https://think-async.com/Asio")
(synopsis "C++ library for ASynchronous network I/O") (synopsis "C++ library for ASynchronous network I/O")
(description "Asio is a cross-platform C++ library for network and (description "Asio is a cross-platform C++ library for network and