talimat 710 B

1234567891011121314151617181920212223
  1. # Tanım: GNS3 ağ simülatörü, Sunucu paketi
  2. # URL: https://github.com/GNS3/gns3-server
  3. # Paketçi: yasarciv67
  4. python3-setuptools python3-jsonschema python3-aiohttp python3-yarl python3-jinja python3-raven python3-psutil python3-async-timeout busybox dynamips
  5. # Grup: ağ
  6. isim=gns3-server
  7. surum=2.1.20
  8. devir=1
  9. kaynak=(https://github.com/GNS3/gns3-server/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
  10. derle() {
  11. cd $isim-$surum
  12. sed -i -e '/^async-timeout<3\.0\.0/d' requirements.txt
  13. echo 'async-timeout>=3.0.0' >> requirements.txt
  14. python3 setup.py build
  15. python3 setup.py install --root=$PKG --optimize=1
  16. install -Dm644 LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
  17. }