2016-05-02 22:32:48 +00:00
|
|
|
# Template file for 'prometheus'
|
|
|
|
pkgname=prometheus
|
2016-09-09 19:58:59 +00:00
|
|
|
version=1.1.2
|
2016-05-02 22:32:48 +00:00
|
|
|
revision=1
|
|
|
|
build_style=go
|
|
|
|
go_import_path="github.com/prometheus/prometheus"
|
|
|
|
go_package="github.com/prometheus/prometheus/cmd/prometheus github.com/prometheus/prometheus/cmd/promtool"
|
|
|
|
go_ldflags="-X ${go_import_path}/version.Version=${version}
|
|
|
|
-X ${go_import_path}/version.Revision=${version}
|
|
|
|
-X ${go_import_path}/version.Branch=${version}
|
|
|
|
-X ${go_import_path}/version.BuildUser=VoidLinux"
|
|
|
|
maintainer="Dominik Honnef <dominik@honnef.co>"
|
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="https://prometheus.io/"
|
|
|
|
short_desc="A monitoring system and time series database"
|
2016-07-26 14:18:47 +00:00
|
|
|
distfiles="https://github.com/prometheus/prometheus/archive/v${version}.tar.gz"
|
2016-09-09 19:58:59 +00:00
|
|
|
checksum=1a924ce9d8880a6dbff11eefbb823cdcc0af5977488deb8e5d16a74ae68d4708
|
2016-05-02 22:32:48 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
vlicense NOTICE
|
|
|
|
vmkdir etc/prometheus
|
|
|
|
vmkdir usr/share/doc/prometheus
|
|
|
|
vmkdir usr/share/examples/prometheus
|
|
|
|
vcopy consoles etc/prometheus
|
|
|
|
vcopy console_libraries etc/prometheus
|
|
|
|
vcopy documentation/examples/* usr/share/examples/prometheus/
|
|
|
|
vcopy documentation/images usr/share/doc/prometheus/
|
|
|
|
}
|