wok-6.x annotate python-ethtool/receipt @ 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 | |
children | 4904e3d374a9 |
rev | line source |
---|---|
pascal@14713 | 1 # SliTaz package receipt. |
pascal@14713 | 2 |
pascal@14713 | 3 PACKAGE="python-ethtool" |
pascal@14713 | 4 VERSION="0.8" |
pascal@14713 | 5 CATEGORY="network" |
pascal@14713 | 6 SHORT_DESC="Python bindings for the ethtool kernel interface." |
pascal@14713 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14713 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14713 | 9 WEB_SITE="http://fedorapeople.org/cgit/dsommers/public_git/python-ethtool.git" |
pascal@14713 | 10 WGET_URL="https://fedorahosted.org/releases/p/y/$PACKAGE/$TARBALL" |
pascal@14713 | 11 |
pascal@14713 | 12 DEPENDS="python libnl1" |
pascal@14713 | 13 BUILD_DEPENDS="python python-dev libnl1-dev pkg-config wget" |
pascal@14713 | 14 |
pascal@14713 | 15 # Rules to configure and make the package. |
pascal@14713 | 16 compile_rules() |
pascal@14713 | 17 { |
pascal@14713 | 18 python setup.py build && |
pascal@14713 | 19 python setup.py install --root=$DESTDIR |
pascal@14713 | 20 } |
pascal@14713 | 21 |
pascal@14713 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14713 | 23 genpkg_rules() |
pascal@14713 | 24 { |
pascal@14713 | 25 mkdir -p $fs |
pascal@14713 | 26 cp -a $install/usr $fs |
pascal@14713 | 27 } |
pascal@14713 | 28 |