ports: Add pcre2 port

This commit is contained in:
2025-08-21 03:07:22 +03:00
parent 72ad413a61
commit 699235147c
2 changed files with 43 additions and 0 deletions

12
ports/pcre2/build.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash ../install.sh
NAME='pcre2'
VERSION='10.45'
DOWNLOAD_URL="https://github.com/PCRE2Project/pcre2/releases/download/pcre2-$VERSION/pcre2-$VERSION.tar.gz#0e138387df7835d7403b8351e2226c1377da804e0737db0e071b48f07c9d12ee"
CONFIG_SUB=('config.sub')
post_install() {
# remove libtool files
rm -f $BANAN_SYSROOT/usr/lib/libpcre2-8.la
rm -f $BANAN_SYSROOT/usr/lib/libpcre2-posix.la
}