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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Dec 6 10:33:45 2013 UTC (6 years ago) by pinkbyte
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Drop old versions

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/gns3/gns3-0.8.3.1.ebuild,v 1.3 2013/07/13 13:13:18 pinkbyte Exp $
4
5 EAPI="5"
6
7 PYTHON_DEPEND="2"
8
9 inherit distutils eutils
10
11 MY_P=${P/gns/GNS}-src
12
13 DESCRIPTION="Graphical Network Simulator"
14 HOMEPAGE="http://www.gns3.net/"
15 SRC_URI="mirror://sourceforge/gns-3/GNS3/${PV}/${MY_P}.tar.bz2"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS="~amd64 ~x86"
20 IUSE=""
21 PYTHON_MODNAME="GNS3"
22
23 DEPEND="dev-qt/qtgui:4
24 dev-qt/qtsvg:4
25 >=dev-python/PyQt4-4.6.1[X,svg]"
26 RDEPEND="${DEPEND}
27 >=app-emulation/dynamips-0.2.8_rc2"
28
29 S=${WORKDIR}/${MY_P}
30
31 pkg_setup() {
32 python_set_active_version 2
33 python_pkg_setup
34 }
35
36 src_prepare() {
37 # Fix illegal install path; /usr/local
38 epatch "${FILESDIR}"/${P}_install_path.patch
39 python_convert_shebangs -r 2 .
40 distutils_src_prepare
41 }
42
43 src_install() {
44 distutils_src_install
45
46 doicon "${FILESDIR}/${PN}.xpm"
47 make_desktop_entry "${PN}" "GNS3" "/usr/share/pixmaps/${PN}.xpm" "Utility" \
48 || die "make_desktop_entry failed"
49 doman docs/man/${PN}.1
50 }
51
52 pkg_postinst() {
53 ewarn "GNS3 has several dependencies that must be enabled manually for additional functionality."
54 ewarn "The following is a list of dependencies that can be added:"
55 ewarn "putty (terminal support), qemu (additional emulation), telnet, virtualbox (host emulation)"
56 }

  ViewVC Help
Powered by ViewVC 1.1.20