wok-next view python-ethtool/receipt @ rev 20957

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 05 15:26:05 2018 +0300 (2018-09-05)
parents d43bf7aae921
children c9a7a7b42a86
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 WEB_SITE="http://fedorapeople.org/cgit/dsommers/public_git/python-ethtool.git"
10 REPOLOGY="python:ethtool"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://fedorahosted.org/releases/p/y/$PACKAGE/$TARBALL"
15 DEPENDS="python libnl1"
16 BUILD_DEPENDS="python-dev libnl1-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs
29 cp -a $install/usr $fs
30 }