summaryrefslogtreecommitdiff
path: root/cisco/gns3/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'cisco/gns3/PKGBUILD')
-rw-r--r--cisco/gns3/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/cisco/gns3/PKGBUILD b/cisco/gns3/PKGBUILD
new file mode 100644
index 0000000..a81a28c
--- /dev/null
+++ b/cisco/gns3/PKGBUILD
@@ -0,0 +1,23 @@
+# Contributor: max-k <max-k@post.com>
+pkgname=gns3
+pkgver=0.7.4
+pkgrel=2
+pkgdesc="Graphical network simulator that allows simulation of complex networks."
+arch=(i686 x86_64)
+url="http://www.gns3.net/"
+license=('GPL')
+depends=('python2-pyqt' 'python2-sip' 'dynagen' 'inetutils' 'qemu-mcast')
+optdepends=('wireshark')
+source=("http://downloads.sourceforge.net/gns-3/GNS3-${pkgver}-src.tar.gz")
+md5sums=('777ae9d65382e0428952cba21d5c0309')
+
+build() {
+ cd ${startdir}/src/GNS3-${pkgver}-src
+ python2 setup.py build
+ python2 setup.py install --prefix ${startdir}/pkg/usr
+ gzip ./docs/man/gns3.1
+ install -D -m 644 ./docs/man/gns3.1.gz ${startdir}/pkg/usr/share/man/man1/gns3.1.gz
+ install -D -m 755 ./qemuwrapper/pemubin.py ${startdir}/pkg/usr/share/GNS3/pemubin.py
+ sed -i 's/#!\/usr\/bin\/env python/#!\/usr\/bin\/env python2/' ./qemuwrapper/qemuwrapper.py
+ install -D -m 755 ./qemuwrapper/qemuwrapper.py ${startdir}/pkg/usr/share/GNS3/qemuwrapper.py
+}