/[gentoo-x86]/net-misc/gns3/gns3-0.8.6.ebuild
Gentoo

Contents of /net-misc/gns3/gns3-0.8.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Apr 8 18:04:50 2015 UTC (4 years, 9 months ago) by mgorny
Branch: MAIN
Changes since 1.1: +3 -3 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 mgorny 1.2 # Copyright 1999-2015 Gentoo Foundation
2 pinkbyte 1.1 # Distributed under the terms of the GNU General Public License v2
3 mgorny 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/gns3/gns3-0.8.6.ebuild,v 1.1 2013/12/06 10:38:05 pinkbyte Exp $
4 pinkbyte 1.1
5     EAPI="5"
6    
7 mgorny 1.2 PYTHON_COMPAT=( python2_7 )
8 pinkbyte 1.1 inherit distutils-r1 eutils
9    
10     MY_P="GNS3-${PV}"
11    
12     DESCRIPTION="Graphical Network Simulator"
13     HOMEPAGE="http://www.gns3.net/"
14     SRC_URI="mirror://sourceforge/gns-3/GNS3/${PV}/${MY_P}-src.tar.gz"
15    
16     LICENSE="GPL-2"
17     SLOT="0"
18     KEYWORDS="~amd64 ~x86"
19    
20     DEPEND="dev-qt/qtgui:4
21     dev-qt/qtsvg:4
22     >=dev-python/PyQt4-4.6.1[X,svg,${PYTHON_USEDEP}]"
23     RDEPEND="${DEPEND}
24     >=app-emulation/dynamips-0.2.10"
25    
26     S="${WORKDIR}/${PN}-legacy-${MY_P}"
27    
28     PATCHES=( "${FILESDIR}/${PN}-0.8.4_install_path.patch" )
29    
30     python_install_all() {
31     distutils-r1_python_install_all
32    
33     doicon "${FILESDIR}/${PN}.xpm"
34     make_desktop_entry "${PN}" "GNS3" "/usr/share/pixmaps/${PN}.xpm" "Utility"
35     doman docs/man/${PN}.1
36     }
37    
38     pkg_postinst() {
39     ewarn "GNS3 has several dependencies that must be enabled manually for additional functionality."
40     ewarn ""
41     ewarn "The following is a list of dependencies that can be added:"
42     ewarn "putty (terminal support), qemu (additional emulation), telnet, virtualbox (host emulation)"
43     ewarn "if you require these dependencies please emerge them before gns3"
44     ewarn ""
45     ewarn "This will also require manual configuration in gns3's preferences to point to the proper path"
46     }

  ViewVC Help
Powered by ViewVC 1.1.20