wok-6.x view ethtool/receipt @ rev 20604
Up linux-libre (3.18.129)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 17 23:42:42 2018 +0100 (2018-12-17) |
parents | 5de169521ad0 |
children | 6d694a106eac |
line source
1 # SliTaz package receipt.
3 PACKAGE="ethtool"
4 VERSION="4.2"
5 CATEGORY="network"
6 SHORT_DESC="Display or change ethernet card settings."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 BUILD_DEPENDS="wget"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="https://www.kernel.org/pub/software/network/ethtool"
12 WGET_URL="$WEB_SITE/$TARBALL"
13 TAGS="ethernet"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS && \
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/sbin $fs/usr
29 }