wok-6.x annotate snimpy/receipt @ rev 20454
Up zstd (1.3.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 06 15:17:20 2018 +0200 (2018-10-06) |
parents | 3558da055187 |
children | 5f46a341be86 |
rev | line source |
---|---|
pascal@17227 | 1 # SliTaz package receipt. |
pascal@17227 | 2 |
pascal@17227 | 3 PACKAGE="snimpy" |
pascal@17227 | 4 VERSION="0.8.3" |
pascal@17227 | 5 CATEGORY="network" |
pascal@17227 | 6 SHORT_DESC="Interactive SNMP tool with Python." |
pascal@17227 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17227 | 8 LICENSE="ISC" |
pascal@17227 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17227 | 10 WEB_SITE="http://snimpy.readthedocs.org/" |
pascal@17227 | 11 WGET_URL="https://github.com/vincentbernat/snimpy/archive/$VERSION.tar.gz" |
pascal@17227 | 12 |
pascal@17227 | 13 DEPENDS="python" |
pascal@17230 | 14 BUILD_DEPENDS="wget python-dev setuptools libffi-dev glib" |
pascal@17227 | 15 |
pascal@17227 | 16 # Rules to configure and make the package. |
pascal@17227 | 17 compile_rules() |
pascal@17227 | 18 { |
pascal@17227 | 19 python setup.py build && |
pascal@17227 | 20 python setup.py install --root=$DESTDIR |
pascal@17227 | 21 } |
pascal@17227 | 22 |
pascal@17227 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17227 | 24 genpkg_rules() |
pascal@17227 | 25 { |
pascal@17227 | 26 mkdir -p $fs/usr |
pascal@17227 | 27 cp -a $install/usr/bin $fs/usr |
pascal@17227 | 28 cp -a $install/usr/lib $fs/usr |
pascal@17227 | 29 } |
al@18086 | 30 |