guix-commits
[Top][All Lists]
Advanced

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

03/06: gnu: iniparser: Update to 4.0.


From: Efraim Flashner
Subject: 03/06: gnu: iniparser: Update to 4.0.
Date: Sun, 24 Jul 2016 12:44:30 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit def8f501e61bce81e369c3331b866b8046859b4d
Author: Efraim Flashner <address@hidden>
Date:   Sun Jul 24 11:14:13 2016 +0300

    gnu: iniparser: Update to 4.0.
    
    * gnu/packages/samba.scm (iniparser): Update to 4.0.
    [source]: Download from Github.
    [arguments]: Define 'gcc' in Makefiles.
---
 gnu/packages/samba.scm |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index 9f0b57c..136ab24 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -39,22 +39,24 @@
 (define-public iniparser
   (package
     (name "iniparser")
-    (version "3.1")
+    (version "4.0")
     (source (origin
              (method url-fetch)
-             (uri (string-append "http://ndevilla.free.fr/iniparser/iniparser-";
+             (uri (string-append 
"https://github.com/ndevilla/iniparser/archive/v";
                                  version ".tar.gz"))
+             (file-name (string-append name "-" version ".tar.gz"))
              (sha256
               (base32
-               "1igmxzcy0s25zcy9vmcw0kd13lh60r0b4qg8lnp1jic33f427pxf"))))
+               "1flj7srvh2hp9ls96qz922bklyhw7f27mmn23b16839zpdjddfz0"))))
     (build-system gnu-build-system)
     (arguments
      '(#:phases (alist-replace
                  'configure
                  (lambda* (#:key outputs #:allow-other-keys)
-                   (substitute* "Makefile"
+                   (substitute* '("Makefile" "test/Makefile")
                      (("/usr/lib")
-                      (string-append (assoc-ref outputs "out") "/lib"))))
+                      (string-append (assoc-ref outputs "out") "/lib"))
+                     (("\\?= gcc") "= gcc")))
                  (alist-replace
                   'build
                   (lambda _
@@ -86,7 +88,7 @@
                                  (find-files "html" ".*"))
                        (for-each (copy doc)
                                  '("AUTHORS" "INSTALL" "LICENSE"
-                                   "README"))))
+                                   "README.md"))))
                    %standard-phases)))))
     (home-page "http://ndevilla.free.fr/iniparser";)
     (synopsis "Standalone ini file parsing library")



reply via email to

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