glog: rebuild for gcc stdc++ dropping gcc4 compat, fix license=

This commit is contained in:
maxice8 2018-08-17 19:08:45 -03:00
parent 0b34e92bd7
commit 0539995e40
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,30 +1,34 @@
# Template build file for 'glog'
# Template file for 'glog'
pkgname=glog
version=0.3.5
revision=1
revision=2
build_style=gnu-configure
short_desc="Logging library for C++"
maintainer="John Regan <john@jrjrtech.com>"
license="3-clause-BSD"
license="BSD-3-Clause"
homepage="https://github.com/google/glog"
distfiles="$homepage/archive/v${version}.tar.gz"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=7580e408a2c0b5a89ca214739978ce6ff480b5e7d8d7698a2aa92fadc484d1e0
post_install() {
vlicense COPYING
}
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/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}
glog-doc_package() {
short_desc+=" - documentation"
noarch="yes"
noarch=yes
pkg_install() {
vmove "usr/share/doc/glog-${version}"
vmove usr/share/doc
}
}