1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# -*-makefile-*-
#
# Copyright (C) 2007 by Sascha Hauer
# 2010 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_ETHTOOL) += ethtool
#
# Paths and names
#
ETHTOOL_VERSION := 4.5
ETHTOOL_MD5 := f50d25177d10f0cb74da3edc66c3143a
ETHTOOL_SUFFIX := tar.xz
ETHTOOL := ethtool-$(ETHTOOL_VERSION)
ETHTOOL_URL := $(call ptx/mirror, KERNEL, ../software/network/ethtool/$(ETHTOOL).$(ETHTOOL_SUFFIX))
ETHTOOL_SOURCE := $(SRCDIR)/$(ETHTOOL).$(ETHTOOL_SUFFIX)
ETHTOOL_DIR := $(BUILDDIR)/$(ETHTOOL)
ETHTOOL_LICENSE := GPL-2.0
ETHTOOL_LICENSE_FILES := \
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
ETHTOOL_CONF_TOOL := autoconf
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/ethtool.targetinstall:
@$(call targetinfo)
@$(call install_init, ethtool)
@$(call install_fixup, ethtool,PRIORITY,optional)
@$(call install_fixup, ethtool,SECTION,base)
@$(call install_fixup, ethtool,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, ethtool,DESCRIPTION,missing)
@$(call install_copy, ethtool, 0, 0, 0755, -, /usr/sbin/ethtool)
@$(call install_finish, ethtool)
@$(call touch)
# vim: syntax=make
|