# Contributor: Francesco Zanini # Contributor: Katie Holly # Contributor: Mike Crute # Maintainer: Mike Crute pkgname=bird pkgver=2.13.1 pkgrel=0 pkgdesc="BIRD Internet Routing Daemon" url="https://bird.network.cz/" arch="all" license="GPL-2.0-or-later" makedepends="bison flex ncurses-dev readline-dev linux-headers libssh-dev" install="$pkgname.pre-install $pkgname.pre-upgrade" subpackages="$pkgname-dbg $pkgname-openrc" source=" $pkgname-$pkgver-2.tar.gz::https://bird.network.cz/download/bird-$pkgver.tar.gz bird.initd bird.confd " # flawed test on big-endian case "$CARCH" in s390x) options="!check";; esac build() { ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --runstatedir=/run \ --enable-libssh make } check() { make test } package() { make DESTDIR="$pkgdir" install install -Dm755 "$srcdir"/bird.initd "$pkgdir"/etc/init.d/bird install -Dm644 "$srcdir"/bird.confd "$pkgdir"/etc/conf.d/bird } sha512sums=" 2531b90c425e76117726c796a519e8aeaf846b09857fd2a39e8eb41a71c49176f088e6933af81ea954a61148ef45342885049a73a9a73f38ebf857154016c743 bird-2.13.1-2.tar.gz 1e7cf8497469b26bbfe5a1f2b3ea2327362a90dfd2684ad150d2594f1c2e9d3ddf88b281087ff925a69e186d9d0f60aea98abc6408641b6bcea49ba5aa559842 bird.initd 0724e9414c276b4162e8d829f67500e41d0fd4732b9ac7f65f9d282214c8c110f22091be90d750990eafc03e2a5b66939537753d751502decc1d592602003116 bird.confd "