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

Contents of /net-misc/wicd/wicd-1.5.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Aug 4 16:16:37 2008 UTC (11 years, 4 months ago) by darkside
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
version bump, remove old insecure version
(Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo 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.0.ebuild,v 1.2 2008/08/04 04:43:12 darkside Exp $
4
5 inherit distutils
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 ~x86"
14 IUSE=""
15
16 RDEPEND="dev-python/dbus-python
17 dev-python/pygtk
18 || (
19 net-misc/dhcp
20 net-misc/dhcpcd
21 net-misc/pump
22 )
23 net-wireless/wireless-tools
24 net-wireless/wpa_supplicant
25 || (
26 sys-apps/ethtool
27 sys-apps/net-tools
28 )"
29
30 src_compile() {
31 ${python} ./setup.py configure --no-install-init --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose
32 distutils_src_compile
33 }
34
35 src_install() {
36 distutils_src_install
37 newinitd "${FILESDIR}/${P}-init.d" wicd || die "newinitd failed"
38 }
39
40 pkg_postinst() {
41 distutils_pkg_postinst
42
43 elog "You may need to restart the dbus service after upgrading wicd."
44 echo
45 elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:"
46 elog "- Remove all net.* initscripts (except for net.lo) from all runlevels"
47 elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/conf.d/rc"
48 elog "(For example, RC_PLUG_SERVICES=\"!net.eth0 !net.wlan0\")"
49 }

  ViewVC Help
Powered by ViewVC 1.1.20