1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 inherit eutils python distutils
13 DESCRIPTION="Graphical Network Simulator"
14 HOMEPAGE="http://www.gns3.net/"
15 SRC_URI="mirror://sourceforge/gns-3/${MY_P}.tar.bz2"
19 KEYWORDS="~amd64 ~x86"
22 DEPEND=">=dev-python/PyQt4-4.6.1
26 >=app-emulation/dynamips-0.2.8_rc2"
31 python_set_active_version 2
36 epatch "${FILESDIR}/${P}_set_dynamips_path.patch"
37 epatch "${FILESDIR}/${P}_set_qemu_path.patch"
39 python_convert_shebangs -r 2 .
47 insinto /usr/libexec/${PN}
48 doins qemuwrapper/{pemubin,qemuwrapper}.py || die
50 doicon "${FILESDIR}"/${PN}.xpm
51 make_desktop_entry ${PN} "GNS3" ${PN} "Utility;Emulator"
53 doman docs/man/${PN}.1 || die