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