# Contributor: Francesco Zanini # Contributor: Katie Holly # Maintainer: Francesco Zanini pkgname=bird pkgver=2.0.1 pkgrel=0 pkgdesc="BIRD Internet Routing Daemon" url="http://bird.network.cz/" arch="all" license="GPL-2.0-or-later" depends="" makedepends="bison flex ncurses-dev readline-dev linux-headers" install="" source=" ftp://bird.network.cz/pub/bird/bird-$pkgver.tar.gz bird-make-test-bsprintf.patch bird.initd " builddir="$srcdir"/bird-$pkgver prepare() { cd "$builddir" default_prepare update_config_guess } build() { cd "$builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm755 "$srcdir"/bird.initd "$pkgdir"/etc/init.d/bird } sha512sums="4ca4d5aa57d1262b69511446cd1d70bd5f48d69a42b12aa617afdbf7ed69f73ace67b9606126c0799e1151ca5539ae891f58423568ec2dfb341d06311bee624c bird-2.0.1.tar.gz e0a9bab1bb84ab4efbf51c4c015bf35196d146560f737979d3a17c44dc2397d9578e61a3bba0c58f3cdbb108074f17288bf536db5d8d4dce87c91f1be3dc6282 bird-make-test-bsprintf.patch 59245af3fd514421d0babcefed556597022a36d14615d596bb5c08c7dd0a6ed4519928e35a0b7ff14fe27ecfa50fa8011283c92bfc9b8355b15b3263df189d5d bird.initd"