# Template build file for 're2'.
pkgname=re2
version=20140304
revision=1
wrksrc=re2
build_style=gnu-makefile
make_install_args="prefix=/usr"
short_desc="An efficient, principled regular expression library"
maintainer="ojab <ojab@ojab.ru>"
license="LGPL-2.1"
homepage="https://code.google.com/p/re2/"
distfiles="https://${pkgname}.googlecode.com/files/${pkgname}-${version}.tgz"
checksum=0bffd1a57de2f4b218ca0f77d8850bfd59c82944a98256c6edba25260e0196a7

re2-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/lib/*.so
	}
}