void-packages/srcpkgs/iproute2/template
Anthony Iliopoulos f5438a80c0 iproute2: update to 5.8.0.
Closes: #24177 [via git-merge-pr]
2020-08-10 14:22:51 +02:00

37 lines
932 B
Bash

# Template file for 'iproute2'
pkgname=iproute2
version=5.8.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"
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/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=cfcd1f890290f8c8afcc91d9444ad929b9252c16f9ab3f286c50dd3c59dc646e
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"
do_check() {
make -C testsuite
}
post_install() {
rm -r ${DESTDIR}/usr/share/man/man3
}
iproute2-tc-ipt_package() {
short_desc+=" - tc(8) IPtables support"
pkg_install() {
vmove usr/lib/tc/m_xt.so
}
}