# HG changeset patch # User Pascal Bellard # Date 1370934298 -7200 # Node ID e347aa94555a375e7144091b051fe6e23446e5f6 # Parent 1e434243dc3180f036a6ed8eb3e6786c1cfe77e0 Add python-ethtool diff -r 1e434243dc31 -r e347aa94555a python-ethtool/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-ethtool/receipt Tue Jun 11 09:04:58 2013 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="python-ethtool" +VERSION="0.8" +CATEGORY="network" +SHORT_DESC="Python bindings for the ethtool kernel interface." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://fedorapeople.org/cgit/dsommers/public_git/python-ethtool.git" +WGET_URL="https://fedorahosted.org/releases/p/y/$PACKAGE/$TARBALL" + +DEPENDS="python libnl1" +BUILD_DEPENDS="python python-dev libnl1-dev pkg-config wget" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py build && + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $install/usr $fs +} +