wok-next view snimpy/receipt @ rev 20778

git update: 2.16.2 (Feb-2018) -> 2.17.1 (May-2018)
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Jun 08 09:36:49 2018 +0000 (2018-06-08)
parents 7390f8de9846
children
line source
1 # SliTaz package receipt.
3 PACKAGE="snimpy"
4 VERSION="0.8.3"
5 CATEGORY="network"
6 SHORT_DESC="Interactive SNMP tool with Python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="ISC"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://snimpy.readthedocs.org/"
11 WGET_URL="https://github.com/vincentbernat/snimpy/archive/$VERSION.tar.gz"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-dev libffi-dev glib"
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/usr
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }