gnu: Add perl-libintl-perl.

* gnu/packages/perl.scm (perl-libintl-perl): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
Petter 2017-10-24 22:34:47 +02:00 committed by Ricardo Wurmus
parent 180411e3f4
commit 544dc8d46b
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 31 additions and 0 deletions

View File

@ -4254,6 +4254,37 @@ version.")
one: logging, exceptions, and translations.") one: logging, exceptions, and translations.")
(license (package-license perl)))) (license (package-license perl))))
(define-public perl-libintl-perl
(package
(name "perl-libintl-perl")
(version "1.28")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/G/GU/GUIDO/"
"libintl-perl-" version ".tar.gz"))
(sha256
(base32
"1gafrfvicjclqlz6i62jx2iqbq878yn3ws86waz2sqbd3gxz5svv"))))
(build-system perl-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'configure 'set-perl-search-path
(lambda _
;; Work around "dotless @INC" build failure.
(setenv "PERL5LIB" (string-append (getcwd) ":"
(getenv "PERL5LIB")))
#t)))))
(propagated-inputs
`(("perl-file-sharedir" ,perl-file-sharedir)))
(home-page "http://search.cpan.org/dist/libintl-perl/")
(synopsis "High-level interface to Uniforum message translation")
(description "This package is an internationalization library for Perl
that aims to be compatible with the Uniforum message translations system as
implemented for example in GNU gettext.")
(license gpl3+)))
(define-public perl-lingua-translit (define-public perl-lingua-translit
(package (package
(name "perl-lingua-translit") (name "perl-lingua-translit")