2020-08-25 15:49:33 +00:00
|
|
|
# Template file for 'bird_exporter'
|
|
|
|
pkgname=bird_exporter
|
2020-08-31 09:41:42 +00:00
|
|
|
version=1.2.5
|
2020-08-25 15:49:33 +00:00
|
|
|
revision=1
|
|
|
|
build_style=go
|
|
|
|
go_import_path="github.com/czerwonk/bird_exporter"
|
|
|
|
hostmakedepends="pandoc"
|
|
|
|
depends="bird"
|
|
|
|
short_desc="Metric exporter for BIRD routing daemon to use with Prometheus"
|
|
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/czerwonk/bird_exporter"
|
|
|
|
distfiles="https://github.com/czerwonk/bird_exporter/archive/${version}.tar.gz"
|
2020-08-31 09:41:42 +00:00
|
|
|
checksum=3d8a1e718bc7f8bdd2c7fc775f042fdce81b4a2b08f978b0831f39909ac15c3d
|
2020-08-25 15:49:33 +00:00
|
|
|
|
|
|
|
post_build() {
|
|
|
|
pandoc -s -t man bird_exporter.1.md -o bird_exporter.1
|
|
|
|
}
|
|
|
|
post_install() {
|
|
|
|
vman bird_exporter.1
|
|
|
|
vsv bird_exporter
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|