30 lines
743 B
Bash
30 lines
743 B
Bash
# Template file for 're2'
|
|
pkgname=re2
|
|
reverts=20140304_1
|
|
version=2018.03.01
|
|
revision=2
|
|
wrksrc="${pkgname}-${version//./-}"
|
|
build_style=gnu-makefile
|
|
make_install_args="prefix=/usr"
|
|
short_desc="An 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=51dc7ee9d1a68ee0209672ac4bdff56766c56606dfcdd57aed022015c4784178
|
|
|
|
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
|
|
}
|
|
}
|