void-packages/srcpkgs/bird/template

29 lines
668 B
Bash

# Template file for 'bird'
pkgname=bird
version=2.0.7
revision=2
build_style=gnu-configure
hostmakedepends="flex autoconf"
makedepends="ncurses-devel readline-devel libssh-devel"
short_desc="BIRD Internet Routing Daemon"
maintainer="Philipp Hirsch <itself@hanspolo.net>"
license="GPL-2.0-or-later"
homepage="https://bird.network.cz"
distfiles="https://gitlab.labs.nic.cz/labs/bird/-/archive/v${version}/bird-v${version}.tar.gz"
checksum=d0c6aeaaef3217d6210261a49751fc662838b55fec92f576e20938917dbf89ab
conf_files="/etc/bird.conf"
system_accounts="_bird"
post_extract() {
mv -v ${wrksrc/-/-v} $wrksrc
}
pre_configure() {
autoreconf
}
post_install() {
vsv bird
}