Merge pull request #2368 from jprjr/glog

New package: glog (c++ logging library)
This commit is contained in:
Jürgen Buchmüller 2015-08-29 22:23:44 +02:00
commit 740fb07e04
4 changed files with 33 additions and 0 deletions

View File

@ -2141,3 +2141,4 @@ libtermkey.so.1 libtermkey-0.17_1
libicu4lua.so.0 icu4lua-0.2B_1
libqtelegram-ae.so.1 libqtelegram-ae-5.0_1
libtelegramqml.so.1 TelegramQML-0.8.0_1
libglog.so.0 glog-0.3.4_1

1
srcpkgs/glog-devel Symbolic link
View File

@ -0,0 +1 @@
glog

1
srcpkgs/glog-docs Symbolic link
View File

@ -0,0 +1 @@
glog

30
srcpkgs/glog/template Normal file
View File

@ -0,0 +1,30 @@
# 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}"
}
}