Skip to content

Commit 6ebd5eb

Browse files
committed
re2: Add port
Signed-off-by: Dennis Bonke <[email protected]>
1 parent 3cd954a commit 6ebd5eb

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

bootstrap.d/dev-libs.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,6 +1436,38 @@ packages:
14361436
environ:
14371437
DESTDIR: '@THIS_COLLECT_DIR@'
14381438

1439+
- name: re2
1440+
architecture: '@OPTION:arch@'
1441+
metadata:
1442+
summary: An efficient, principled regular expression library
1443+
description: RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python.
1444+
spdx: 'BSD-3-Clause'
1445+
website: 'https://github.com/google/re2'
1446+
maintainer: "Dennis Bonke <[email protected]>"
1447+
categories: ['dev-libs']
1448+
source:
1449+
subdir: ports
1450+
git: 'https://github.com/google/re2.git'
1451+
tag: '2022-04-01'
1452+
version: '2022.04.01'
1453+
tools_required:
1454+
- host-cmake
1455+
- system-gcc
1456+
pkgs_required:
1457+
- mlibc
1458+
configure:
1459+
- args:
1460+
- 'cmake'
1461+
- '-DCMAKE_TOOLCHAIN_FILE=@SOURCE_ROOT@/scripts/CMakeToolchain-@OPTION:[email protected]'
1462+
- '-DCMAKE_INSTALL_PREFIX=/usr'
1463+
- '-DBUILD_SHARED_LIBS=ON'
1464+
- '@THIS_SOURCE_DIR@'
1465+
build:
1466+
- args: ['make', '-j@PARALLELISM@']
1467+
- args: ['make', 'install']
1468+
environ:
1469+
DESTDIR: '@THIS_COLLECT_DIR@'
1470+
14391471
- name: wayland-protocols
14401472
labels: [aarch64]
14411473
architecture: '@OPTION:arch@'

0 commit comments

Comments
 (0)