28 lines
721 B
Bash
28 lines
721 B
Bash
# Template file for 're2'
|
|
pkgname=re2
|
|
version=2019.09.01
|
|
revision=1
|
|
wrksrc="${pkgname}-${version//./-}"
|
|
build_style=gnu-makefile
|
|
make_install_args="prefix=/usr"
|
|
short_desc="Efficient, principled regular expression library"
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/google/re2"
|
|
distfiles="${homepage}/archive/${version//./-}.tar.gz"
|
|
checksum=b0382aa7369f373a0148218f2df5a6afd6bfa884ce4da2dfb576b979989e615e
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
re2-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|