4 pkgdesc="a dynamic routing daemon for UNIX-like systems"
8 makedepends=('perl' 'bison' 'flex')
10 url="http://bird.network.cz/"
11 source=(ftp://bird.network.cz/pub/bird/${pkgname}-${pkgver}.tar.gz bird.service bird6.service)
13 backup=('etc/bird.conf' 'etc/bird6.conf')
17 cp -a ${pkgname}-${pkgver} ${pkgname}-${pkgver}-ipv4
18 cp -a ${pkgname}-${pkgver} ${pkgname}-${pkgver}-ipv6
20 cd "${srcdir}/${pkgname}-${pkgver}-ipv4"
21 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var
24 cd "${srcdir}/${pkgname}-${pkgver}-ipv6"
25 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var --enable-ipv6
30 cd "${srcdir}/${pkgname}-${pkgver}-ipv4"
31 make sysconfdir=${pkgdir}/etc prefix=${pkgdir}/usr localstatedir=${pkgdir}/var install
32 make docdir=${pkgdir}/usr/share/doc/${pkgname}-${pkgver} install-docs
34 cd "${srcdir}/${pkgname}-${pkgver}-ipv6"
35 make sysconfdir=${pkgdir}/etc prefix=${pkgdir}/usr localstatedir=${pkgdir}/var install
37 mkdir -p ${pkgdir}/lib/systemd/system/
38 cp ${srcdir}/bird.service ${pkgdir}/lib/systemd/system/
39 cp ${srcdir}/bird6.service ${pkgdir}/lib/systemd/system/
42 md5sums=('20f5aa9d3f853d2c922438dc9d922ecc'
43 'e78155b5a8da230d047ef5270538766d'
44 'e78155b5a8da230d047ef5270538766d')