guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/06: gnu: asio: Update to 1.12.1.


From: Tobias Geerinckx-Rice
Subject: 01/06: gnu: asio: Update to 1.12.1.
Date: Fri, 10 Aug 2018 21:21:16 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit cb9da5d171b1a9806aa3cbd28c2d514a0bcda8a2
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Fri Aug 10 02:47:51 2018 +0200

    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.
---
 gnu/packages/networking.scm | 27 ++++++---------------------
 1 file changed, 6 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index aa7059e..91cc150 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1897,23 +1897,16 @@ eight bytes) tools
 (define-public asio
   (package
     (name "asio")
-    (version "1.12.0")
+    (version "1.12.1")
     (source
      (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/chriskohlhoff/asio.git";)
-             (commit (string-join (cons name (string-split version #\.))
-                                  "-"))))
-       (file-name (git-file-name name version))
+       (method url-fetch)
+       (uri (string-append "mirror://sourceforge/asio/asio/"
+                           version " (Stable)/" name "-" version ".tar.bz2"))
        (sha256
         (base32
-         "04dg8kpgriay7q62mqcq2gl439k5y4mf761zghsd6wfl0farh3mx"))))
+         "0nln45662kg799ykvqx5m9z9qcsmadmgg6r5najryls7x16in2d9"))))
     (build-system gnu-build-system)
-    (native-inputs
-     `(("autoconf" ,autoconf)
-       ("automake" ,automake)
-       ("libtool" ,libtool)))
     (inputs
      `(("boost" ,boost)
        ("openssl" ,openssl)))
@@ -1921,15 +1914,7 @@ eight bytes) tools
      `(#:configure-flags
        (list
         (string-append "--with-boost=" (assoc-ref %build-inputs "boost"))
-        (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"))))))
+        (string-append "--with-openssl=" (assoc-ref %build-inputs 
"openssl")))))
     (home-page "https://think-async.com/Asio";)
     (synopsis "C++ library for ASynchronous network I/O")
     (description "Asio is a cross-platform C++ library for network and



reply via email to

[Prev in Thread] Current Thread [Next in Thread]