void-packages/srcpkgs/re2/template
2019-08-10 21:11:43 +02:00

28 lines
721 B
Bash

# Template file for 're2'
pkgname=re2
version=2019.08.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=38bc0426ee15b5ed67957017fd18201965df0721327be13f60496f2b356e3e01
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
}
}