30 lines
750 B
Bash
30 lines
750 B
Bash
# Template build file for 're2'.
|
|
pkgname=re2
|
|
reverts=20140304_1
|
|
version=2016.05.01
|
|
revision=1
|
|
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="3-clause-BSD"
|
|
homepage="https://github.com/google/re2"
|
|
distfiles="${homepage}/archive/${version//./-}.tar.gz"
|
|
checksum=d9d13f0ea4e1c6628b1cb85eeee284d4fdd4948da94b1f205096254927092e3d
|
|
|
|
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
|
|
}
|
|
}
|