Commit b1d408dd authored by satmandu's avatar satmandu Committed by GitHub

pcre2 -> 10.36 (#5106)

parent 8cf19791
...@@ -3,32 +3,36 @@ require 'package' ...@@ -3,32 +3,36 @@ require 'package'
class Pcre2 < Package class Pcre2 < Package
description 'The PCRE2 package contains a new generation of the Perl Compatible Regular Expression libraries.' description 'The PCRE2 package contains a new generation of the Perl Compatible Regular Expression libraries.'
homepage 'http://pcre.org/' homepage 'http://pcre.org/'
version '10.35-2' @_ver = '10.36'
version @_ver
compatibility 'all' compatibility 'all'
source_url 'https://ftp.pcre.org/pub/pcre/pcre2-10.35.tar.gz' source_url "https://ftp.pcre.org/pub/pcre/pcre2-#{@_ver}.tar.gz"
source_sha256 '8fdcef8c8f4cd735169dd0225fd010487970c1bcadd49e9b90e26c7250a33dc9' source_sha256 'b95ddb9414f91a967a887d69617059fb672b914f56fa3d613812c1ee8e8a1a37'
binary_url ({ binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.35-2-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.36-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.35-2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.36-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.35-2-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.36-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.35-2-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/pcre2-10.36-chromeos-x86_64.tar.xz'
}) })
binary_sha256 ({ binary_sha256({
aarch64: 'df898210acbb0ebe0bb52bb4f8ea9b057343ccac899c70e9cef1f97cf41f4687', aarch64: 'f83694fcc265d5dc06c627e47ea7765e74eb337727277f4dbbd8df7d1d5e8114',
armv7l: 'df898210acbb0ebe0bb52bb4f8ea9b057343ccac899c70e9cef1f97cf41f4687', armv7l: 'f83694fcc265d5dc06c627e47ea7765e74eb337727277f4dbbd8df7d1d5e8114',
i686: '158cbb0f6b19c16a428c301abd134a8120c271908d47f0019c145942c84beecd', i686: '845f8a7fa844ea982be1b6a81e5f48d23be348861f6d33fd84ca5b98dd032b54',
x86_64: '8937d09340235256c0ff4ccefb982a4898951b23ea1754fa1d318d784aff583c', x86_64: '17002f3ed5ebba3944dc1050a314e75b03a25a0bfc54ac1c12d1060178456199'
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS} \ system "env CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' \
LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS} \
--enable-shared \
--with-pic \
--enable-unicode-properties \
--enable-pcre2-16 \ --enable-pcre2-16 \
--enable-pcre2-32 \ --enable-pcre2-32 \
--enable-unicode \
--enable-pcre2test-libreadline \
--enable-jit \ --enable-jit \
--disable-static" --enable-pcre2test-libreadline"
system 'make' system 'make'
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment