wok annotate ethtool/receipt @ rev 8776
Up: tazwok (4.0) - New function, improvement and use each time a clean chroot to build package
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 22 13:00:23 2011 +0100 (2011-02-22) |
parents | 31c985a0bd3d |
children | ba8a1b9f08b0 |
rev | line source |
---|---|
paul@2049 | 1 # SliTaz package receipt. |
paul@2049 | 2 |
paul@2049 | 3 PACKAGE="ethtool" |
paul@7798 | 4 VERSION="2.6.36" |
pascal@2054 | 5 CATEGORY="network" |
paul@2049 | 6 SHORT_DESC="Display or change ethernet card settings." |
paul@2049 | 7 MAINTAINER="paul@slitaz.org" |
paul@2049 | 8 DEPENDS="" |
paul@2049 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2086 | 10 WEB_SITE="http://sourceforge.net/projects/gkernel/" |
paul@2049 | 11 WGET_URL="http://downloads.sourceforge.net/gkernel/$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@2049 | 20 make && make DESTDIR=$PWD/_pkg 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@2049 | 27 cp -a $_pkg/usr/sbin $fs/usr |
paul@2049 | 28 } |
paul@2049 | 29 |