Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

56 řádky
2.2 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
  3. ;;;
  4. ;;; This file is part of GNU Guix.
  5. ;;;
  6. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  7. ;;; under the terms of the GNU General Public License as published by
  8. ;;; the Free Software Foundation; either version 3 of the License, or (at
  9. ;;; your option) any later version.
  10. ;;;
  11. ;;; GNU Guix is distributed in the hope that it will be useful, but
  12. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ;;; GNU General Public License for more details.
  15. ;;;
  16. ;;; You should have received a copy of the GNU General Public License
  17. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  18. (define-module (gnu packages pcre)
  19. #:use-module ((guix licenses)
  20. #:renamer (symbol-prefix-proc 'license:))
  21. #:use-module (gnu packages compression)
  22. #:use-module (gnu packages readline)
  23. #:use-module (guix packages)
  24. #:use-module (guix download)
  25. #:use-module (guix build-system gnu))
  26. (define-public pcre
  27. (package
  28. (name "pcre")
  29. (version "8.32")
  30. (source (origin
  31. (method url-fetch)
  32. (uri (string-append "mirror://sourceforge/pcre/pcre/"
  33. version "/pcre-" version ".tar.bz2"))
  34. (sha256
  35. (base32
  36. "0m8gvrf1q0iwll4csirvvj98xygw4cy7r14i5l53ivsqs2dzn4x9"))))
  37. (build-system gnu-build-system)
  38. (inputs `(("bzip2" ,bzip2)
  39. ("readline" ,readline)
  40. ("zlib" ,zlib)))
  41. (arguments
  42. `(#:configure-flags '("--enable-utf"
  43. "--enable-pcregrep-libz"
  44. "--enable-pcregrep-libbz2"
  45. "--enable-pcretest-libreadline")))
  46. (synopsis "PCRE, Perl Compatible Regular Expressions")
  47. (description
  48. "The PCRE library is a set of functions that implement regular expression
  49. pattern matching using the same syntax and semantics as Perl 5. PCRE has its
  50. own native API, as well as a set of wrapper functions that correspond to the
  51. POSIX regular expression API.")
  52. (license license:bsd-3)
  53. (home-page "http://www.pcre.org/")))