iglunix/extra/pcre2/build.sh

32 lines
451 B
Bash
Raw Permalink Normal View History

2021-12-26 12:40:14 +00:00
pkgname=pcre2
pkgver=10.39
2021-09-11 08:24:20 +00:00
fetch() {
2021-12-26 12:40:14 +00:00
curl -L "https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.39/pcre2-$pkgver.tar.bz2" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
2021-09-11 08:24:20 +00:00
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--build=$TRIPLE \
--host=$TRIPLE
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
}
2021-12-26 12:40:14 +00:00
backup() {
return
}
2021-09-11 08:24:20 +00:00
license() {
cd $pkgname-$pkgver
2021-12-26 12:40:14 +00:00
cat COPYING
2021-09-11 08:24:20 +00:00
}