Skip to content

Commit

Permalink
re2: Add port
Browse files Browse the repository at this point in the history
Signed-off-by: Dennis Bonke <[email protected]>
  • Loading branch information
Dennisbonke committed Oct 8, 2022
1 parent 7305f64 commit 53a39c3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions bootstrap.d/dev-libs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1436,6 +1436,38 @@ packages:
environ:
DESTDIR: '@THIS_COLLECT_DIR@'

- name: re2
architecture: '@OPTION:arch@'
metadata:
summary: An efficient, principled regular expression library
description: RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python.
spdx: 'BSD-3-Clause'
website: 'https://github.com/google/re2'
maintainer: "Dennis Bonke <[email protected]>"
categories: ['dev-libs']
source:
subdir: ports
git: 'https://github.com/google/re2.git'
tag: '2022-04-01'
version: '2022.04.01'
tools_required:
- host-cmake
- system-gcc
pkgs_required:
- mlibc
configure:
- args:
- 'cmake'
- '-DCMAKE_TOOLCHAIN_FILE=@SOURCE_ROOT@/scripts/CMakeToolchain-@OPTION:[email protected]'
- '-DCMAKE_INSTALL_PREFIX=/usr'
- '-DBUILD_SHARED_LIBS=ON'
- '@THIS_SOURCE_DIR@'
build:
- args: ['make', '-j@PARALLELISM@']
- args: ['make', 'install']
environ:
DESTDIR: '@THIS_COLLECT_DIR@'

- name: wayland-protocols
labels: [aarch64]
architecture: '@OPTION:arch@'
Expand Down

0 comments on commit 53a39c3

Please sign in to comment.