void-packages/srcpkgs/glog/template
2015-08-28 14:30:59 -04:00

30 lines
716 B
Bash

# Template build file for 'glog'
pkgname=glog
version=0.3.4
revision=1
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
}
}
glog-docs_package() {
short_desc+=" - documentation"
noarch="yes"
pkg_install() {
vmove "usr/share/doc/glog-${version}"
}
}