wok annotate ethtool/receipt @ rev 14343
Up tcc (0.9.26)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 14 13:40:01 2013 +0200 (2013-04-14) |
parents | ba8a1b9f08b0 |
children | 380ffe05937a |
rev | line source |
---|---|
paul@2049 | 1 # SliTaz package receipt. |
paul@2049 | 2 |
paul@2049 | 3 PACKAGE="ethtool" |
paul@13520 | 4 VERSION="3.6" |
pascal@2054 | 5 CATEGORY="network" |
paul@2049 | 6 SHORT_DESC="Display or change ethernet card settings." |
paul@2049 | 7 MAINTAINER="paul@slitaz.org" |
slaxemulator@10267 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@10267 | 9 WEB_SITE="http://www.kernel.org/pub/software/network/ethtool/" |
slaxemulator@10267 | 10 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@4935 | 11 TAGS="ethernet" |
paul@2049 | 12 |
paul@2049 | 13 # Rules to configure and make the package. |
paul@2049 | 14 compile_rules() |
paul@2049 | 15 { |
paul@2049 | 16 cd $src |
paul@2049 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
paul@2049 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
paul@13520 | 19 make && make install |
paul@2049 | 20 } |
paul@2049 | 21 |
paul@2049 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2049 | 23 genpkg_rules() |
paul@2049 | 24 { |
paul@2049 | 25 mkdir -p $fs/usr |
paul@13520 | 26 cp -a $install/usr/sbin $fs/usr |
paul@2049 | 27 } |
paul@2049 | 28 |