iproute2: adapt coexistence layer to new unified path
authorSteven Barth <cyrus@openwrt.org>
Fri, 2 Oct 2015 08:24:35 +0000 (08:24 +0000)
committerSteven Barth <cyrus@openwrt.org>
Fri, 2 Oct 2015 08:24:35 +0000 (08:24 +0000)
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 47081

package/network/utils/iproute2/Makefile

index cc73c13..23834df 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=iproute2
 PKG_VERSION:=4.0.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=http://kernel.org/pub/linux/utils/net/iproute2/
@@ -107,13 +107,13 @@ define Build/InstallDev
 endef
 
 define Package/ip/install
-       $(INSTALL_DIR) $(1)/usr/sbin
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/usr/sbin/
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/usr/bin/
 endef
 
 define Package/ip-full/install
-       $(INSTALL_DIR) $(1)/usr/bin
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/usr/bin/
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/usr/sbin/
 endef
 
 define Package/tc/install