void-packages/srcpkgs/re2/template

24 lines
641 B
Bash
Raw Normal View History

2013-04-21 10:47:54 +00:00
# Template build file for 're2'.
pkgname=re2
2014-09-18 19:15:30 +00:00
version=20140304
revision=1
2014-04-10 15:01:31 +00:00
wrksrc=re2
2013-04-21 10:47:54 +00:00
build_style=gnu-makefile
make_install_args="prefix=/usr"
short_desc="An efficient, principled regular expression library"
maintainer="ojab <ojab@ojab.ru>"
2014-09-18 19:15:30 +00:00
license="LGPL-2.1"
2013-04-21 10:47:54 +00:00
homepage="https://code.google.com/p/re2/"
distfiles="https://${pkgname}.googlecode.com/files/${pkgname}-${version}.tgz"
2014-09-18 19:15:30 +00:00
checksum=0bffd1a57de2f4b218ca0f77d8850bfd59c82944a98256c6edba25260e0196a7
2013-04-21 10:47:54 +00:00
re2-devel_package() {
short_desc+=" - development files"
2013-04-21 10:47:54 +00:00
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
2014-09-18 19:15:30 +00:00
vmove usr/lib/*.a
2014-04-10 15:01:31 +00:00
vmove usr/lib/*.so
2013-04-21 10:47:54 +00:00
}
}