void-packages/srcpkgs/bird/template
Jürgen Buchmüller 9b5d5f0ba1 bird: needs -fcommon for gcc10
[ci skip]
2020-08-28 18:25:29 +02:00

30 lines
687 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"
CFLAGS="-fcommon"
post_extract() {
mv -v ${wrksrc/-/-v} $wrksrc
}
pre_configure() {
autoreconf
}
post_install() {
vsv bird
}