new pkgbuild: snmp simulator
This commit is contained in:
parent
be72abb782
commit
a91e252e90
1 changed files with 22 additions and 0 deletions
22
pkgbuild/snmpsim/PKGBUILD
Normal file
22
pkgbuild/snmpsim/PKGBUILD
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||||
|
pkgname=snmpsim
|
||||||
|
pkgver=0.1.3
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="a software that would act like a multitude of real physical devices from SNMP Manager's point of view"
|
||||||
|
arch=(any)
|
||||||
|
url="http://snmpsim.sourceforge.net/"
|
||||||
|
license=('BSD')
|
||||||
|
depends=('python' 'python-pysnmp' 'python-pyasn1')
|
||||||
|
optdepends=('pycrypto: SNMPv3 support')
|
||||||
|
options=(!emptydirs)
|
||||||
|
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
|
||||||
|
md5sums=('93719ca49ed013c3819a1f057a412347')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
sed -i '1i #!/usr/bin/env python' build/scripts-3.2/*.py
|
||||||
|
python setup.py install --root="$pkgdir/" --optimize=1
|
||||||
|
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue