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