From 66c326b6d65388e9f1003715ad9675505f01f9d2 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 3 Jun 2022 13:05:13 +0100 Subject: added porting from alpine linux --- repo/pcre2-32/pcre2-32.xibuild | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 repo/pcre2-32/pcre2-32.xibuild (limited to 'repo/pcre2-32/pcre2-32.xibuild') diff --git a/repo/pcre2-32/pcre2-32.xibuild b/repo/pcre2-32/pcre2-32.xibuild new file mode 100644 index 0000000..4822cf8 --- /dev/null +++ b/repo/pcre2-32/pcre2-32.xibuild @@ -0,0 +1,28 @@ +#!/bin/sh + +NAME="pcre2-32" +DESC="PCRE2 with 32 bit character support" + +MAKEDEPS="make " +DEPS="musl " + +PKG_VER=10.39 +SOURCE="https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$PKG_VER/pcre2-$PKG_VER.tar.bz2" + +build () { + ./configure \ + CFLAGS="$CFLAGS -O3" \ + --prefix=/usr \ + --docdir=/usr/share/doc/pcre2-32-$PKG_VER \ + --htmldir=/usr/share/doc/pcre2-32-$PKG_VER/html \ + --enable-pcre2-16 \ + --enable-pcre2-32 \ + --enable-pcre2grep-libz \ + --enable-pcre2test-libedit \ + --with-match-limit-depth=8192 + make +} + +package () { + make DESTDIR=$PKG_DEST install +} -- cgit v1.2.1