wok view python-ethtool/receipt @ rev 18583
Up slitaz-tools-boxes(958)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 12 11:40:39 2015 +0200 (2015-11-12) |
parents | e347aa94555a |
children | 3601009ad7bd |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://fedorapeople.org/cgit/dsommers/public_git/python-ethtool.git"
11 WGET_URL="https://fedorahosted.org/releases/p/y/$PACKAGE/$TARBALL"
13 DEPENDS="python libnl1"
14 BUILD_DEPENDS="python python-dev libnl1-dev pkg-config wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 python setup.py build &&
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs
27 cp -a $install/usr $fs
28 }