Skip to content

Commit

Permalink
pcre2: more configure options
Browse files Browse the repository at this point in the history
LFS dictates:

`--enable-unicode`: This switch enables Unicode support and includes the functions for handling UTF-8/16/32 character strings in the library.

`--enable-pcre2-16`: This switch enables 16 bit character support.

`--enable-pcre2-32`: This switch enables 32 bit character support.

`--enable-pcre2grep-libz`: This switch adds support for reading .gz compressed files to pcre2grep.

`--enable-pcre2grep-libbz2`: This switch adds support for reading .bz2 compressed files to pcre2grep.

`--enable-pcre2test-libreadline`: This switch adds line editing and history features to the pcre2test program.

`--enable-jit`: this option enables Just-in-time compiling, which can greatly speed up pattern matching.
  • Loading branch information
wwwutz committed Nov 5, 2021
1 parent 0aada8d commit 42dcaa8
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions pcre2.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION pcre2-10.37-0
# BEE_VERSION pcre2-10.37-1

#SRCURL[0]="https://downloads.sourceforge.net/pcre/pcre2-${PKGVERSION}.tar.bz2"
SRCURL[0]="https://beehive.molgen.mpg.de/85dc7f2233491b4b6ec6115220da99c6/pcre2-10.37.tar.bz2"
Expand All @@ -23,16 +23,21 @@ BEE_BUILDTYPE=autotools

mee_configure() {
bee_configure \
--enable-unicode \
--enable-jit \
--enable-pcre2-16 \
--enable-pcre2-32 \
--enable-pcre2grep-libz \
--enable-pcre2grep-libbz2 \
--enable-pcre2test-libreadline \
--disable-static
}

#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}
mee_install_post() {
mee_install() {
bee_install
cd ${D} && rm -r usr/share/doc
}

0 comments on commit 42dcaa8

Please sign in to comment.