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

DEPS=(glibc)

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

build () {
    CC=gcc ./configure --prefix=/usr 
    make
    make DESTDIR=$PKG_DEST install
}

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