blob: 57b5d5c8229bb2b1f186037d8070b3654281cbb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Contributor: Francesco Zanini <francesco@zanini.me>
# Contributor: Katie Holly <holly@fuslvz.ws>
# Maintainer: Francesco Zanini <francesco@zanini.me>
pkgname=bird
pkgver=2.0.6
pkgrel=0
pkgdesc="BIRD Internet Routing Daemon"
url="https://bird.network.cz/"
arch="all !s390x"
license="GPL-2.0-or-later"
makedepends="bison flex ncurses-dev readline-dev linux-headers"
subpackages="$pkgname-openrc"
source="
ftp://bird.network.cz/pub/bird/bird-$pkgver.tar.gz
bird-make-test-bsprintf.patch
bird.initd
"
build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
install -Dm755 "$srcdir"/bird.initd "$pkgdir"/etc/init.d/bird
}
sha512sums="22aa676e171cf5ddf6dedbf0dfe9bb36a959efdf9cb278b7e969d5b08b06fe483e3b30ef40c1f9980387ed6ac6ee6626f3d85704925256c22dae91fa7d23267d bird-2.0.6.tar.gz
e0a9bab1bb84ab4efbf51c4c015bf35196d146560f737979d3a17c44dc2397d9578e61a3bba0c58f3cdbb108074f17288bf536db5d8d4dce87c91f1be3dc6282 bird-make-test-bsprintf.patch
da2fd6eaf5e468eed1054c23299ae899d5b1152c94a500db2242c63cdd543a32218e45373470ff367d5736022ced18e6a427f6b98e69a34ae2d3bf811550d828 bird.initd"
|