wok-4.x view ethtool/receipt @ rev 12469
tazpkg: upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Nov 09 19:06:12 2022 +0000 (24 months ago) |
parents | 9250536d802e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ethtool"
4 VERSION="2.6.38"
5 CATEGORY="network"
6 SHORT_DESC="Display or change ethernet card settings."
7 MAINTAINER="paul@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.kernel.org/pub/software/network/ethtool/"
10 WGET_URL="$WEB_SITE/$TARBALL"
11 TAGS="ethernet"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS && \
19 make && make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/sbin $fs/usr
27 }