/[gentoo-x86]/net-misc/wicd/wicd-1.5.3-r2.ebuild
Gentoo

Contents of /net-misc/wicd/wicd-1.5.3-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Dec 4 14:10:23 2008 UTC (11 years ago) by darkside
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
version bump
(Portage version: 2.2_rc16/cvs/Linux 2.6.28-rc6-wl-dirty x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.5.3-r2.ebuild,v 1.3 2008/11/18 03:14:23 darkside Exp $
4
5 inherit distutils eutils
6
7 DESCRIPTION="A lightweight wired and wireless network manager for Linux"
8 HOMEPAGE="http://wicd.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~x86"
14 IUSE=""
15
16 DEPEND=""
17 RDEPEND="dev-python/dbus-python
18 dev-python/pygtk
19 || (
20 net-misc/dhcp
21 net-misc/dhcpcd
22 net-misc/pump
23 )
24 net-wireless/wireless-tools
25 net-wireless/wpa_supplicant
26 || (
27 sys-apps/ethtool
28 sys-apps/net-tools
29 )
30 || ( x11-misc/ktsuss x11-libs/gksu kde-base/kdesu )"
31
32 src_unpack() {
33 distutils_src_unpack
34 # patch to install new man page - submitted upstream
35 epatch "${FILESDIR}/${P}-wicd-client-manpage.patch"
36
37 # discussing with upstream
38 sed -i 's/gksu/gksudo/' wicd/{misc,gui}.py
39
40 }
41
42 src_compile() {
43 ${python} ./setup.py configure --no-install-init --no-install-docs --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose
44 distutils_src_compile
45 }
46
47 src_install() {
48 DOCS="CHANGES"
49 distutils_src_install
50 newinitd "${FILESDIR}/wicd-init.d" wicd || die "newinitd failed"
51 }
52
53 pkg_postinst() {
54 distutils_pkg_postinst
55
56 elog "You may need to restart the dbus service after upgrading wicd."
57 echo
58 elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:"
59 elog "- Remove all net.* initscripts (except for net.lo) from all runlevels"
60 elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/conf.d/rc"
61 elog "(For example, RC_PLUG_SERVICES=\"!net.eth0 !net.wlan0\")"
62 }

  ViewVC Help
Powered by ViewVC 1.1.20