wok view ethtool/receipt @ rev 25371
updated tmux-mem-cpu-load (3.4.0 -> 3.6.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 29 14:34:07 2022 +0100 (2022-07-29) |
parents | 453c249b6219 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ethtool"
4 VERSION="5.16"
5 CATEGORY="network"
6 TAGS="ethernet"
7 SHORT_DESC="Display or change ethernet card settings."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.kernel.org/pub/software/network/ethtool"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/$TARBALL"
15 DEPENDS="libmnl"
16 BUILD_DEPENDS="libmnl-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders sbin
41 }