mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 16:06:16 -05:00
90dcf9c8c5
* gnu/packages/pcre.scm (pcre): Update to 8.36. Enable JIT support.
56 lines
2.2 KiB
Scheme
56 lines
2.2 KiB
Scheme
;;; GNU Guix --- Functional package management for GNU
|
|
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
|
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
|
;;;
|
|
;;; This file is part of GNU Guix.
|
|
;;;
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
;;; under the terms of the GNU General Public License as published by
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
;;; your option) any later version.
|
|
;;;
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
;;; GNU General Public License for more details.
|
|
;;;
|
|
;;; You should have received a copy of the GNU General Public License
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
(define-module (gnu packages pcre)
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
#:use-module (gnu packages compression)
|
|
#:use-module (gnu packages readline)
|
|
#:use-module (guix packages)
|
|
#:use-module (guix download)
|
|
#:use-module (guix build-system gnu))
|
|
|
|
(define-public pcre
|
|
(package
|
|
(name "pcre")
|
|
(version "8.36")
|
|
(source (origin
|
|
(method url-fetch)
|
|
(uri (string-append "mirror://sourceforge/pcre/pcre/"
|
|
version "/pcre-" version ".tar.bz2"))
|
|
(sha256
|
|
(base32
|
|
"1fs5p1z67m9f4xnyil3s4lhgyld78f7m4d1yawpyhh0cvrbk90zg"))))
|
|
(build-system gnu-build-system)
|
|
(inputs `(("bzip2" ,bzip2)
|
|
("readline" ,readline)
|
|
("zlib" ,zlib)))
|
|
(arguments
|
|
`(#:configure-flags '("--enable-utf"
|
|
"--enable-pcregrep-libz"
|
|
"--enable-pcregrep-libbz2"
|
|
"--enable-pcretest-libreadline"
|
|
"--enable-jit")))
|
|
(synopsis "Perl Compatible Regular Expressions")
|
|
(description
|
|
"The PCRE library is a set of functions that implement regular expression
|
|
pattern matching using the same syntax and semantics as Perl 5. PCRE has its
|
|
own native API, as well as a set of wrapper functions that correspond to the
|
|
POSIX regular expression API.")
|
|
(license license:bsd-3)
|
|
(home-page "http://www.pcre.org/")))
|