void-packages/srcpkgs/gflags/template

31 lines
793 B
Bash
Raw Normal View History

2015-08-31 03:44:42 +02:00
# Template file for 'gflags'
pkgname=gflags
version=2.1.2
revision=2
2015-08-31 03:44:42 +02:00
build_style=cmake
configure_args=" -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON"
2015-08-31 03:44:42 +02:00
short_desc="A C++ library that implements commandline flags processing"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="3-clause-BSD"
homepage="http://gflags.github.io/gflags"
distfiles="https://github.com/gflags/gflags/archive/v${version}.tar.gz"
checksum=d8331bd0f7367c8afd5fcb5f5e85e96868a00fd24b7276fa5fcee1e5575c2662
post_install() {
2015-08-31 03:44:42 +02:00
vlicense COPYING.txt
vdoc ChangeLog.txt
vdoc README.md
}
gflags-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}