wok-current annotate 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 |
rev | line source |
---|---|
pascal@14713 | 1 # SliTaz package receipt. |
pascal@14713 | 2 |
pascal@14713 | 3 PACKAGE="python-ethtool" |
Hans-G?nter@23481 | 4 VERSION="0.14" |
pascal@14713 | 5 CATEGORY="network" |
pascal@14713 | 6 SHORT_DESC="Python bindings for the ethtool kernel interface." |
pascal@14713 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14714 | 8 LICENSE="GPL2" |
Hans-G?nter@23481 | 9 WEB_SITE="https://fedoraproject.org/wiki/Python-ethtool" |
pascal@14713 | 10 |
Hans-G?nter@23481 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23481 | 12 WGET_URL="https://github.com/fedora-python/$PACKAGE/archive/v$VERSION.tar.gz" |
Hans-G?nter@23481 | 13 |
Hans-G?nter@23481 | 14 DEPENDS="python libnl" |
Hans-G?nter@23481 | 15 BUILD_DEPENDS="libnl-dev pkg-config python python-dev python-setuptools" |
pascal@14713 | 16 |
pascal@14713 | 17 # Rules to configure and make the package. |
pascal@14713 | 18 compile_rules() |
pascal@14713 | 19 { |
pascal@14713 | 20 python setup.py build && |
pascal@14713 | 21 python setup.py install --root=$DESTDIR |
pascal@14713 | 22 } |
pascal@14713 | 23 |
pascal@14713 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14713 | 25 genpkg_rules() |
pascal@14713 | 26 { |
Hans-G?nter@23481 | 27 cp -a $install/usr $fs |
pascal@14713 | 28 } |