void-packages/srcpkgs/re2/template

24 lines
642 B
Plaintext

# Template build file for 're2'.
pkgname=re2
version=20130115
revision=2
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="LGPL2.1"
homepage="https://code.google.com/p/re2/"
checksum=a95d83ed8203817587f7cc368b6f7199d8a4b1558372c306b07201058b92e1fe
distfiles="https://${pkgname}.googlecode.com/files/${pkgname}-${version}.tgz"
re2-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/*.so
}
}