package/net-tools: bump to version 2.10

Use standard install target as update target has been removed with
5484cf9a13/

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2021-10-05 08:43:34 +02:00 committed by Peter Korsgaard
parent d64975da20
commit babf10adf9
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,6 @@
# From http://sourceforge.net/projects/net-tools/files/
sha1 4080baab0486dc882c3b293d5559c27251ae4268 net-tools-2.10.tar.xz
md5 78aae762c95e2d731faf88d482e4cde5 net-tools-2.10.tar.xz
# Locally computed
sha256 4c68ef33d97cc807fe437fa64a801355c36d638774c0c8a4342742f6bdceea78 net-tools-479bb4a7e11a4084e2935c0a576388f92469225b-br1.tar.gz
sha256 b262435a5241e89bfa51c3cabd5133753952f7a7b7b93f32e08cb9d96f580d69 net-tools-2.10.tar.xz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING

View File

@ -4,8 +4,9 @@
#
################################################################################
NET_TOOLS_VERSION = 479bb4a7e11a4084e2935c0a576388f92469225b
NET_TOOLS_SITE = git://git.code.sf.net/p/net-tools/code
NET_TOOLS_VERSION = 2.10
NET_TOOLS_SOURCE = net-tools-$(NET_TOOLS_VERSION).tar.xz
NET_TOOLS_SITE = http://downloads.sourceforge.net/project/net-tools
NET_TOOLS_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
NET_TOOLS_LICENSE = GPL-2.0+
NET_TOOLS_LICENSE_FILES = COPYING
@ -35,11 +36,10 @@ define NET_TOOLS_BUILD_CMDS
$(MAKE) -C $(@D)
endef
# install renames conflicting binaries, update does not
# ifconfig & route reside in /sbin for busybox, so ensure we don't end
# up with two versions of those.
define NET_TOOLS_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) update
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
mv -f $(TARGET_DIR)/bin/ifconfig $(TARGET_DIR)/sbin/ifconfig
mv -f $(TARGET_DIR)/bin/route $(TARGET_DIR)/sbin/route
endef