2015-08-25 22:32:47 +02:00
|
|
|
# Template build file for 'glog'
|
|
|
|
pkgname=glog
|
|
|
|
version=0.3.4
|
2015-09-28 09:26:35 +02:00
|
|
|
revision=2
|
2015-08-25 22:32:47 +02:00
|
|
|
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 09:26:35 +02:00
|
|
|
glog-doc_package() {
|
2015-08-25 22:32:47 +02:00
|
|
|
short_desc+=" - documentation"
|
|
|
|
noarch="yes"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/share/doc/glog-${version}"
|
|
|
|
}
|
|
|
|
}
|