void-packages/srcpkgs/re2/template

29 lines
685 B
Plaintext
Raw Normal View History

2013-04-21 12:47:54 +02:00
# Template build file for 're2'.
pkgname=re2
version=20130115
revision=1
build_style=gnu-makefile
make_install_args="prefix=/usr"
wrksrc=re2
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_package() {
pkg_install() {
vmove all
}
}
re2-devel_package() {
short_desc="${short_desc} -- development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}