wok-current view python-ethtool/receipt @ rev 23755

directfb: added LDFLAGS
author Hans-G?nter Theisgen
date Sat May 02 14:07:46 2020 +0100 (2020-05-02)
parents 4904e3d374a9
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="python-ethtool"
4 VERSION="0.14"
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="https://fedoraproject.org/wiki/Python-ethtool"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/fedora-python/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="python libnl"
15 BUILD_DEPENDS="libnl-dev pkg-config python python-dev python-setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }