wok-current view python-ethtool/receipt @ rev 16476
ARM: add python-routes + python-serial (but main python dont cook anymore)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 22 22:49:42 2014 +0200 (2014-04-22) |
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 }