void-packages/srcpkgs/glog/template

31 lines
715 B
Bash
Raw Normal View History

# Template build file for 'glog'
pkgname=glog
version=0.3.4
2015-09-28 07:26:35 +00:00
revision=2
build_style=gnu-configure
short_desc="Logging library for C++"
maintainer="John Regan <john@jrjrtech.com>"
license="3-clause-BSD"
homepage="https://github.com/google/glog"
distfiles="$homepage/archive/v${version}.tar.gz"
checksum="ce99d58dce74458f7656a68935d7a0c048fa7b4626566a71b7f4e545920ceb10"
glog-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
}
}
2015-09-28 07:26:35 +00:00
glog-doc_package() {
short_desc+=" - documentation"
noarch="yes"
pkg_install() {
vmove "usr/share/doc/glog-${version}"
}
}