wok-stable annotate ethtool/receipt @ rev 12367

clamtk: fix genpkg_rules (thanks ernia)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 02 14:24:30 2013 +0100 (2013-01-02)
parents 9250536d802e
children
rev   line source
paul@2049 1 # SliTaz package receipt.
paul@2049 2
paul@2049 3 PACKAGE="ethtool"
slaxemulator@10267 4 VERSION="2.6.38"
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@2049 19 make && make DESTDIR=$PWD/_pkg 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@2049 26 cp -a $_pkg/usr/sbin $fs/usr
paul@2049 27 }
paul@2049 28