#!/bin/bash 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 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 }