summaryrefslogtreecommitdiff
path: root/repo/pcre2-32/pcre2-32.xibuild
blob: 4822cf8dfbd9217261243055eb4071aacff9eedc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}