void-packages/srcpkgs/glog/template
2017-05-14 09:28:02 +00:00

30 lines
713 B
Bash

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