wok-next view python-ethtool/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | e347aa94555a |
children | d43bf7aae921 |
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 }