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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Oct 9 05:21:54 2008 UTC (11 years, 1 month ago) by darkside
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fix up deps to be more proper on net-misc/wicd
(Portage version: 2.2_rc11/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.3-r1.ebuild,v 1.1 2008/09/29 22:07:21 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 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_unpack() {
31 distutils_src_unpack
32 # patch to install new man page - submitted upstream
33 epatch "${FILESDIR}/${P}-wicd-client-manpage.patch"
34
35 }
36
37 src_compile() {
38 ${python} ./setup.py configure --no-install-init --no-install-docs --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose
39 distutils_src_compile
40 }
41
42 src_install() {
43 DOCS="CHANGES"
44 distutils_src_install
45 newinitd "${FILESDIR}/wicd-init.d" wicd || die "newinitd failed"
46 }
47
48 pkg_postinst() {
49 distutils_pkg_postinst
50
51 elog "You may need to restart the dbus service after upgrading wicd."
52 echo
53 elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:"
54 elog "- Remove all net.* initscripts (except for net.lo) from all runlevels"
55 elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/conf.d/rc"
56 elog "(For example, RC_PLUG_SERVICES=\"!net.eth0 !net.wlan0\")"
57 }

  ViewVC Help
Powered by ViewVC 1.1.20