wok annotate ethtool/receipt @ rev 15054
compiz-libcompizconfig-dev: fix genpkg-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 21:12:36 2013 +0000 (2013-08-12) |
parents | 21f9c267cacf |
children | 5de169521ad0 |
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" |
pascal@15000 | 8 LICENSE="GPL2" |
slaxemulator@10267 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@10267 | 10 WEB_SITE="http://www.kernel.org/pub/software/network/ethtool/" |
slaxemulator@10267 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@4935 | 12 TAGS="ethernet" |
paul@2049 | 13 |
paul@2049 | 14 # Rules to configure and make the package. |
paul@2049 | 15 compile_rules() |
paul@2049 | 16 { |
paul@2049 | 17 cd $src |
paul@2049 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
paul@2049 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
paul@13520 | 20 make && make install |
paul@2049 | 21 } |
paul@2049 | 22 |
paul@2049 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2049 | 24 genpkg_rules() |
paul@2049 | 25 { |
paul@2049 | 26 mkdir -p $fs/usr |
paul@13520 | 27 cp -a $install/usr/sbin $fs/usr |
paul@2049 | 28 } |
paul@2049 | 29 |