wok view python-ethtool/receipt @ rev 20676

Up cdrtools (3.01)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 24 23:10:49 2019 +0100 (2019-01-24)
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 }