34 lines
719 B
Bash
34 lines
719 B
Bash
# Template file for 'glog'
|
|
pkgname=glog
|
|
version=0.3.5
|
|
revision=3
|
|
build_style=gnu-configure
|
|
short_desc="Logging library for C++"
|
|
maintainer="John Regan <john@jrjrtech.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/google/glog"
|
|
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/pkgconfig
|
|
}
|
|
}
|
|
|
|
glog-doc_package() {
|
|
short_desc+=" - documentation"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|