1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit multilib python
7 DESCRIPTION="Text-based frontend to Dynamips Cisco router emulator."
8 HOMEPAGE="http://www.dynagen.org/"
9 SRC_URI="mirror://sourceforge/dyna-gen/${P}.tar.gz"
17 RDEPEND="app-emulation/dynamips"
20 insinto $(python_get_sitedir)
21 doins *.py || die "python files install failed"
23 dobin ${PN} || die "failed install of /usr/bin/dynagen"
26 doins ${PN}.ini || die "config file install failed"
28 insinto /usr/share/${PN}
29 doins configspec || die "failed configspec install"
33 insinto /usr/share/doc/${P}
40 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages