brioche-dev / brioche-packages

Brioche packages, which get auto-published to the Brioche Registry
MIT License
24 stars 1 forks source link

feat: Add pcre2 package #81

Closed jaudiger closed 3 months ago

jaudiger commented 3 months ago

Resolve #45

Package pcre2 which is a common library used by other tools such as git, ripgrep, etc.

The packaging is a bit hacky due to hard-coded paths in a few build scripts, see the discussion in the related issue #45.

bash-5.2$ brioche build -p packages/pcre2 -o /tmp/pcre2
Build finished, completed (no new jobs) in 2.76s
Result: 26526a47af9efabb19badc404039cf41aa89874b3bdd1d3bf37f39c743d4715d
Writing output
Wrote output to /tmp/pcre2

bash-5.2$ ls /tmp/pcre2
bin  brioche-env.d  brioche-resources.d  include  lib  share

bash-5.2$ ls /tmp/pcre2/lib/pkgconfig/
libpcre2-16.pc  libpcre2-32.pc  libpcre2-8.pc  libpcre2-posix.pc