summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-03-02 20:33:02 -0500
committerMark H Weaver <mhw@netris.org>2015-03-02 20:35:32 -0500
commitbbd0ea77ef13965475408c0e6152580cb16fd572 (patch)
tree0446188ca0c158ed3af1b825d367eea1118af248 /gnu
parent2ecebec142c0b14c42502e5cf7ad8d8d00eaf189 (diff)
downloadguix-bbd0ea77ef13965475408c0e6152580cb16fd572.tar.gz
gnu: libuv: Update to 1.4.2.
* gnu/packages/libevent.scm (libuv): Update to 1.4.2.  Update source URI.
  Add 'file-name' field to origin.  Move 'autogen' phase after 'unpack'.
  Run "sh autogen.sh" instead of "./autogen.sh".
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/libevent.scm14
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/packages/libevent.scm b/gnu/packages/libevent.scm
index 64892bf878..e23de3a25a 100644
--- a/gnu/packages/libevent.scm
+++ b/gnu/packages/libevent.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -63,22 +64,23 @@ loop.")
 (define-public libuv
   (package
     (name "libuv")
-    (version "0.11.25")
+    (version "1.4.2")
     (source (origin
               (method url-fetch)
-              (uri (string-append "https://github.com/joyent/libuv/archive/v"
+              (uri (string-append "https://github.com/libuv/libuv/archive/v"
                                   version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1ys2wlypdbv59yywn91d5vl329z50mi7ivi3fj5rjm4mr9g3wnmr"))))
+                "0hdpysawz85zpmsfkcsd1b7bmx53szcir1szbh1w7ldhkpv29r5r"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:phases (alist-cons-before
-                 'configure 'autogen
+     '(#:phases (alist-cons-after
+                 'unpack 'autogen
                  (lambda _
                    ;; Fashionable people don't run 'make dist' these days, so
                    ;; we need to do that ourselves.
-                   (zero? (system* "./autogen.sh")))
+                   (zero? (system* "sh" "autogen.sh")))
                  %standard-phases)
 
        ;; XXX: Some tests want /dev/tty, attempt to make connections, etc.