1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit distutils eutils
11 DESCRIPTION="Graphical Network Simulator"
12 HOMEPAGE="http://www.gns3.net/"
13 SRC_URI="mirror://sourceforge/gns-3/${MY_P}.tar.bz2"
20 DEPEND="x11-libs/qt-gui:4
22 >=dev-python/PyQt4-4.1"
24 >=app-emulation/dynamips-0.2.8_rc2"
30 epatch "${FILESDIR}/${P}_set_dynamips_path.patch"
31 epatch "${FILESDIR}/${P}_set_pemu_path.patch"
36 doman docs/man/${PN}.1 || die "Installing man pages failed"
37 insinto /usr/libexec/${PN}
38 doins "${S}/pemu/pemuwrapper.py" || die "Failed to install pemuwrapper.py"