iproute2: split tc(8) ipt shlib that needs iptables to the -tc-ipt subpkg.

This commit is contained in:
Juan RP 2014-06-29 13:13:28 +02:00
parent afb76242fe
commit 0020b0aafe
2 changed files with 9 additions and 1 deletions

1
srcpkgs/iproute2-tc-ipt Symbolic link
View File

@ -0,0 +1 @@
iproute2

View File

@ -1,7 +1,7 @@
# Template file for 'iproute2'
pkgname=iproute2
version=3.14.0
revision=1
revision=2
hostmakedepends="pkg-config perl flex"
makedepends="libfl-devel db-devel>=5.3 iptables-devel>=1.4.21"
conf_files="
@ -35,3 +35,10 @@ do_install() {
# Remove devel manpages.
rm -rf ${DESTDIR}/usr/share/man/man3
}
iproute2-tc-ipt_package() {
short_desc+=" - tc(8) IPtables support"
pkg_install() {
vmove usr/lib/tc/m_xt.so
}
}