24 lines
683 B
Bash
24 lines
683 B
Bash
# Template file for 'bird_exporter'
|
|
pkgname=bird_exporter
|
|
version=1.2.4
|
|
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"
|
|
checksum=99498bb8a47e2dbb496830099a550df0bf0d4b53f3e7ccd309689c54f5ffae72
|
|
|
|
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
|
|
}
|