2015-08-31 03:44:42 +02:00
|
|
|
# Template file for 'gflags'
|
|
|
|
pkgname=gflags
|
|
|
|
version=2.1.2
|
2015-09-11 10:38:04 +02:00
|
|
|
revision=2
|
2015-08-31 03:44:42 +02:00
|
|
|
build_style=cmake
|
2015-09-11 10:38:04 +02:00
|
|
|
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
|
|
|
|
|
2015-09-11 10:38:04 +02:00
|
|
|
post_install() {
|
2015-08-31 03:44:42 +02:00
|
|
|
vlicense COPYING.txt
|
|
|
|
vdoc ChangeLog.txt
|
|
|
|
vdoc README.md
|
|
|
|
}
|
|
|
|
|
2015-09-11 10:38:04 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|