summaryrefslogtreecommitdiff
path: root/repo/pcre2/pcre2.xibuild
blob: 46e35e996264290532db234d734d9b9e6e2b7974 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

MAKEDEPS="make "
DEPS="musl readline zlib bzip2 sh"

PKG_VER=10.39
SOURCE=https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$PKG_VER/pcre2-$PKG_VER.tar.gz
DESC="A library that implements regular expressions in a perl style"

build () {
    CC=gcc ./configure --prefix=/usr --enable-utf --enable-unicode-properties
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}