gnu: iniparser: Update to 4.0.
* gnu/packages/samba.scm (iniparser): Update to 4.0. [source]: Download from Github. [arguments]: Define 'gcc' in Makefiles.
This commit is contained in:
parent
f0e8d85e17
commit
def8f501e6
|
@ -39,22 +39,24 @@
|
||||||
(define-public iniparser
|
(define-public iniparser
|
||||||
(package
|
(package
|
||||||
(name "iniparser")
|
(name "iniparser")
|
||||||
(version "3.1")
|
(version "4.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(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"))
|
version ".tar.gz"))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1igmxzcy0s25zcy9vmcw0kd13lh60r0b4qg8lnp1jic33f427pxf"))))
|
"1flj7srvh2hp9ls96qz922bklyhw7f27mmn23b16839zpdjddfz0"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (alist-replace
|
'(#:phases (alist-replace
|
||||||
'configure
|
'configure
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(substitute* "Makefile"
|
(substitute* '("Makefile" "test/Makefile")
|
||||||
(("/usr/lib")
|
(("/usr/lib")
|
||||||
(string-append (assoc-ref outputs "out") "/lib"))))
|
(string-append (assoc-ref outputs "out") "/lib"))
|
||||||
|
(("\\?= gcc") "= gcc")))
|
||||||
(alist-replace
|
(alist-replace
|
||||||
'build
|
'build
|
||||||
(lambda _
|
(lambda _
|
||||||
|
@ -86,7 +88,7 @@
|
||||||
(find-files "html" ".*"))
|
(find-files "html" ".*"))
|
||||||
(for-each (copy doc)
|
(for-each (copy doc)
|
||||||
'("AUTHORS" "INSTALL" "LICENSE"
|
'("AUTHORS" "INSTALL" "LICENSE"
|
||||||
"README"))))
|
"README.md"))))
|
||||||
%standard-phases)))))
|
%standard-phases)))))
|
||||||
(home-page "http://ndevilla.free.fr/iniparser")
|
(home-page "http://ndevilla.free.fr/iniparser")
|
||||||
(synopsis "Standalone ini file parsing library")
|
(synopsis "Standalone ini file parsing library")
|
||||||
|
|
Loading…
Reference in New Issue