summaryrefslogtreecommitdiff
path: root/repo/system/pcre.xibuild
blob: e0b33a2113622588771b08bb55df78cf17c6e8ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

MAKEDEPS=(make )
DEPS=(glibc)

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 
    make
}

package () {
    make DESTDIR=$PKG_DEST install
    # this probably is not right but it works for now
    #ln /usr/lib/libpcre2-8.so $PKG_DEST/usr/lib/libpcre.so.1
}