43 lines
1.0 KiB
Bash
43 lines
1.0 KiB
Bash
# Template file for 'iproute2'
|
|
pkgname=iproute2
|
|
version=5.19.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=26b7a34d6a7fd2f7a42e2b39c5a90cb61bac522d1096067ffeb195e5693d7791
|
|
|
|
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"
|
|
|
|
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() {
|
|
# m_ipt.so is symlinked to m_xt.so
|
|
vmove usr/lib/tc/m_ipt.so
|
|
vmove usr/lib/tc/m_xt.so
|
|
}
|
|
}
|