Files
chromebrew/packages/pcre2.rb
github-actions[bot] edd9052512 AutoBuild: pcre2 started at 2025-07-05-14UTC (#12144)
* pcre2 => 10.45

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add built packages for linux/386 to pcre2

* Add built packages for linux/amd64 to pcre2

* Add built packages for linux/arm/v7 to pcre2

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
2025-07-05 15:12:05 +00:00

32 lines
1.0 KiB
Ruby

require 'buildsystems/cmake'
class Pcre2 < CMake
description 'The PCRE2 package contains a new generation of the Perl Compatible Regular Expression libraries.'
homepage 'http://pcre.org/'
version '10.45'
license 'BSD-3'
compatibility 'all'
source_url 'https://github.com/PCRE2Project/pcre2.git'
git_hashtag "pcre2-#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'b2af5bbffe74949b8fd9f0284df72e4475fd3106d859f41a89542800a2f1805f',
armv7l: 'b2af5bbffe74949b8fd9f0284df72e4475fd3106d859f41a89542800a2f1805f',
i686: '26c073a2c61b004b2761027cf8a83f752be37098af3a9b7e2d645755d178c657',
x86_64: '73979e8695cb42e2cac7e6384711170dd3fd3af6734a4db5cf3ce18c72f3cdf9'
})
depends_on 'bzip2' # R
depends_on 'glibc' # R
depends_on 'readline' # R
depends_on 'zlib' # R
cmake_options '-DPCRE2_BUILD_TESTS=OFF \
-DBUILD_SHARED_LIBS=ON \
-DPCRE2_SUPPORT_JIT=ON \
-DPCRE2_STATIC_PIC=ON \
-DPCRE2_BUILD_PCRE2_16=ON \
-DPCRE2_BUILD_PCRE2_32=ON'
end