26 lines
691 B
Bash
26 lines
691 B
Bash
# Template build file for 're2'.
|
|
pkgname=re2
|
|
reverts=20140304_1
|
|
version=2015.07.01
|
|
revision=2
|
|
wrksrc="${pkgname}-${version//\./-}"
|
|
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/${version//\./-}.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
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|