wok-6.x view ethtool/receipt @ rev 24452

cyrus-imapd: configured libexecdir
author Hans-G?nter Theisgen
date Tue Feb 15 17:13:46 2022 +0100 (2022-02-15)
parents d66c0487628a
children 293c8ed65bed
line source
1 # SliTaz package receipt.
3 PACKAGE="ethtool"
4 VERSION="5.4"
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 BUILD_DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 }