gnu: iniparser: Update to 4.1.

* gnu/packages/samba.scm (iniparser): Update to 4.1.
[arguments]: Update library SONAME.
[home-page]: Abandon outdated home page with no mention of version 4.
This commit is contained in:
Tobias Geerinckx-Rice 2018-01-15 07:30:08 +01:00
parent fa5e661859
commit a9691718e8
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 5 additions and 5 deletions

View File

@ -93,7 +93,7 @@ the Linux kernel CIFS client.")
(define-public iniparser (define-public iniparser
(package (package
(name "iniparser") (name "iniparser")
(version "4.0") (version "4.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/ndevilla/iniparser/archive/v" (uri (string-append "https://github.com/ndevilla/iniparser/archive/v"
@ -101,7 +101,7 @@ the Linux kernel CIFS client.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1flj7srvh2hp9ls96qz922bklyhw7f27mmn23b16839zpdjddfz0")))) "1bpk8dj9d5cl64lg6jsk0qlzrpg848nymwxc3fx707fk1n0al3cn"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:make-flags `(#:make-flags
@ -115,7 +115,7 @@ the Linux kernel CIFS client.")
(string-append (assoc-ref outputs "out") "/lib"))))) (string-append (assoc-ref outputs "out") "/lib")))))
(replace 'build (replace 'build
(lambda* (#:key make-flags #:allow-other-keys) (lambda* (#:key make-flags #:allow-other-keys)
(apply invoke "make" "libiniparser.so" (apply invoke "make" "libiniparser.so.1"
make-flags))) make-flags)))
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
@ -130,14 +130,14 @@ the Linux kernel CIFS client.")
(for-each (install lib) (for-each (install lib)
(find-files "." "^lib.*\\.so")) (find-files "." "^lib.*\\.so"))
(with-directory-excursion lib (with-directory-excursion lib
(symlink "libiniparser.so.0" "libiniparser.so")) (symlink "libiniparser.so.1" "libiniparser.so"))
(for-each (install inc) (for-each (install inc)
(find-files "src" "\\.h$")) (find-files "src" "\\.h$"))
(for-each (install html) (for-each (install html)
(find-files "html" ".*")) (find-files "html" ".*"))
(for-each (install doc) (for-each (install doc)
'("AUTHORS" "INSTALL" "LICENSE" "README.md")))))))) '("AUTHORS" "INSTALL" "LICENSE" "README.md"))))))))
(home-page "http://ndevilla.free.fr/iniparser") (home-page "https://github.com/ndevilla/iniparser")
(synopsis "Standalone ini file parsing library") (synopsis "Standalone ini file parsing library")
(description (description
"iniparser is a free stand-alone `ini' file parsing library (Windows "iniparser is a free stand-alone `ini' file parsing library (Windows