# HG changeset patch # User Paul Issott # Date 1232194421 0 # Node ID cdf8d9da67865aa491925867defaff68fdd784b8 # Parent 94279628ad930e818f3b3f960a0d5cf90639df75 Add: ethtool diff -r 94279628ad93 -r cdf8d9da6786 ethtool/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ethtool/receipt Sat Jan 17 12:13:41 2009 +0000 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="ethtool" +VERSION="6" +CATEGORY="internet" +SHORT_DESC="Display or change ethernet card settings." +MAINTAINER="paul@slitaz.org" +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://sourceforge.net/" +WGET_URL="http://downloads.sourceforge.net/gkernel/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS && \ + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/sbin $fs/usr +} +