void-packages/srcpkgs/re2/template

25 lines
655 B
Bash

# Template build file for 're2'.
pkgname=re2
_distver=2015-07-01
version=${_distver//-/}
revision=1
wrksrc=$pkgname-$_distver
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://github.com/google/re2"
distfiles="${homepage}/archive/${_distver}.tar.gz"
checksum=e32d6dfa48d882a81086ae26537dc2e78877bb427f61c8cd4062dff7d0b0ef08
re2-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}