wok-next view ethtool/receipt @ rev 18664
Up tazpkg(881)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 04 03:41:51 2015 +0200 (2015-12-04) |
parents | 380ffe05937a |
children | 27bab3002e84 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ethtool"
4 VERSION="3.12.1"
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 }