gnu: utf8proc: Update to 1.3.1.

* gnu/packages/textutils.scm (utf8proc): Update to 1.3.1.
[arguments]: Remove custom "install" phase.
This commit is contained in:
Ricardo Wurmus 2015-11-30 14:31:02 +01:00
parent 77553dff86
commit f1e3a8aed2

View file

@ -95,7 +95,7 @@ (define-public enca
(define-public utf8proc (define-public utf8proc
(package (package
(name "utf8proc") (name "utf8proc")
(version "1.1.6") (version "1.3.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -104,23 +104,15 @@ (define-public utf8proc
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "0wmsi672knii0q70wh6a3ll0gv7qk33c50zbpzasrs3b16bqy659")))) (base32 "1k48as5kjkar4yj3dwxyll8ykj4k723ib5a6mnw1g86q3zi0zdl3"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:tests? #f ;no "check" target '(#:tests? #f ;no "check" target
#:make-flags '("CC=gcc") #:make-flags (list "CC=gcc"
(string-append "prefix=" (assoc-ref %outputs "out")))
#:phases #:phases
(alist-replace (modify-phases %standard-phases
'install (delete 'configure))))
(lambda* (#:key outputs #:allow-other-keys)
(let ((lib (string-append (assoc-ref outputs "out") "/lib/"))
(include (string-append (assoc-ref outputs "out") "/include/")))
(install-file "utf8proc.h" include)
(for-each (lambda (file)
(install-file file lib))
'("libutf8proc.a" "libutf8proc.so"))))
;; no configure script
(alist-delete 'configure %standard-phases))))
(home-page "http://julialang.org/utf8proc/") (home-page "http://julialang.org/utf8proc/")
(synopsis "C library for processing UTF-8 Unicode data") (synopsis "C library for processing UTF-8 Unicode data")
(description "utf8proc is a small C library that provides Unicode (description "utf8proc is a small C library that provides Unicode