void-packages/srcpkgs/iproute2/template

35 lines
991 B
Bash

# Template file for 'iproute2'
pkgname=iproute2
version=6.10.0
revision=1
build_style=configure
make_install_args="SBINDIR=/usr/bin"
hostmakedepends="pkg-config perl flex"
makedepends="libfl-devel libmnl-devel db-devel iptables-devel elfutils-devel
libbpf-devel"
short_desc="IP Routing Utilities"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://wiki.linuxfoundation.org/networking/iproute2"
distfiles="${KERNEL_SITE}/utils/net/iproute2/iproute2-${version}.tar.xz"
checksum=91a62f82737b44905a00fa803369c447d549e914e9a2a4018fdd75b1d54e8dce
# Requires unshare, which is not provided by chroot-util-linux.
make_check=no
conf_files="
/etc/iproute2/ematch_map
/etc/iproute2/rt_dsfield
/etc/iproute2/rt_protos
/etc/iproute2/rt_realms
/etc/iproute2/rt_scopes
/etc/iproute2/rt_tables
/etc/iproute2/bpf_pinning
/etc/iproute2/group
/etc/iproute2/nl_protos"
post_install() {
vmkdir etc
vcopy etc/iproute2 etc
rm -r ${DESTDIR}/usr/share/man/man3
}