wok rev 14713
Add python-ethtool
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 11 09:04:58 2013 +0200 (2013-06-11) |
parents | 1e434243dc31 |
children | 4904e3d374a9 |
files | python-ethtool/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-ethtool/receipt Tue Jun 11 09:04:58 2013 +0200 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-ethtool" 1.7 +VERSION="0.8" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Python bindings for the ethtool kernel interface." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://fedorapeople.org/cgit/dsommers/public_git/python-ethtool.git" 1.13 +WGET_URL="https://fedorahosted.org/releases/p/y/$PACKAGE/$TARBALL" 1.14 + 1.15 +DEPENDS="python libnl1" 1.16 +BUILD_DEPENDS="python python-dev libnl1-dev pkg-config wget" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + python setup.py build && 1.22 + python setup.py install --root=$DESTDIR 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs 1.29 + cp -a $install/usr $fs 1.30 +} 1.31 +