File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ recipe {
2+ name "pcre2"
3+ version "10.47"
4+ release 1
5+ description "Perl Compatible Regular Expressions"
6+ url "https://github.com/PCRE2Project/pcre2"
7+ archs "aarch64" "x86_64"
8+ licenses "BSD"
9+ depends "llvm" \
10+ "make" \
11+ "mimalloc-dev" \
12+ "musl-dev"
13+ }
14+
15+ source "https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${recipe.version}/pcre2-${recipe.version}.tar.bz2" {
16+ blake3 "abcd7327919f41f77b99c3782ab64bd67d4089246846b6149dd719c27ecf8f17"
17+ }
18+
19+ build {
20+ script r #"
21+ ./configure \
22+ --prefix=/usr \
23+ --enable-shared \
24+ --enable-static \
25+ --enable-pcre2-16 \
26+ --enable-pcre2-32 \
27+ --enable-unicode
28+ make
29+ "#
30+ }
31+
32+ install {
33+ script r #"
34+ make DESTDIR="${DESTDIR}" install
35+ "#
36+ }
37+
38+ package "pcre2" {
39+ files "usr/bin/" \
40+ "!usr/bin/pcre2-config" \
41+ "usr/lib/lib*.so*" \
42+ "usr/share/man/man1/" \
43+ "!usr/share/man/man1/pcre2-config*"
44+ }
45+
46+ package "pcre2-dev" {
47+ files "usr/bin/pcre2-config" \
48+ "usr/include/" \
49+ "usr/lib/lib*.a" \
50+ "usr/lib/pkgconfig/" \
51+ "usr/share/man/man1/pcre2-config*" \
52+ "usr/share/man/man3/"
53+ }
You can’t perform that action at this time.
0 commit comments