summaryrefslogtreecommitdiff
path: root/repo/pcre/pcre.xibuild
blob: dc86f468ad72a714960a7d87ec30c435071d447f (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=8.45
SOURCE=https://sourceforge.net/projects/pcre/files/pcre/$PKG_VER/pcre-$PKG_VER.tar.gz
DESC="A library that implements regular expressions in a perl style (old version)"

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

package () {
    make DESTDIR=$PKG_DEST install
}