summaryrefslogtreecommitdiff
path: root/user/frr/APKBUILD
blob: 2757e89899dc69fa05884a1d23f6f30a62fa636c (plain) (blame)
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
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=frr
pkgver=7.1
pkgrel=0
pkgdesc="An IP routing suite with support for for BGP, IS-IS, LDP, OSPF, PIM, and RIP"
url="https://frrouting.org/"
arch="all"
license="GPL-2.0+ AND LGPL-2.1+"
depends=""
makedepends="libexecinfo-dev openssl-dev json-c-dev c-ares-dev libyang-dev
	bison flex python3-dev py3-pytest py3-sphinx texinfo bsd-compat-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/FRRouting/frr/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-systemd=no \
		--disable-vtysh
	make PYTHON=python3
}

check() {
	make PYTHON=python3 check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="1639d9feca6f01d7174cde1965437c711a8ed0c1f0f1eb80c290f883639851a94b9165d5b1468bd31f5baf8cc2ff1b09264db9e0f7de5972bbad1507ee2861ef  frr-7.1.tar.xz"