wok-6.x annotate python-ethtool/receipt @ rev 20274
linux: recook
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 18 21:05:50 2018 +0100 (2018-03-18) |
parents | e347aa94555a |
children | 3601009ad7bd |
rev | line source |
---|---|
pascal@14713 | 1 # SliTaz package receipt. |
pascal@14713 | 2 |
pascal@14713 | 3 PACKAGE="python-ethtool" |
pascal@14713 | 4 VERSION="0.8" |
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" |
pascal@14713 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14713 | 10 WEB_SITE="http://fedorapeople.org/cgit/dsommers/public_git/python-ethtool.git" |
pascal@14713 | 11 WGET_URL="https://fedorahosted.org/releases/p/y/$PACKAGE/$TARBALL" |
pascal@14713 | 12 |
pascal@14713 | 13 DEPENDS="python libnl1" |
pascal@14713 | 14 BUILD_DEPENDS="python python-dev libnl1-dev pkg-config wget" |
pascal@14713 | 15 |
pascal@14713 | 16 # Rules to configure and make the package. |
pascal@14713 | 17 compile_rules() |
pascal@14713 | 18 { |
pascal@14713 | 19 python setup.py build && |
pascal@14713 | 20 python setup.py install --root=$DESTDIR |
pascal@14713 | 21 } |
pascal@14713 | 22 |
pascal@14713 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14713 | 24 genpkg_rules() |
pascal@14713 | 25 { |
pascal@14713 | 26 mkdir -p $fs |
pascal@14713 | 27 cp -a $install/usr $fs |
pascal@14713 | 28 } |
pascal@14713 | 29 |