# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A wired and wireless network manager for Linux" HOMEPAGE="http://wicd.sourceforge.net/" MY_P="${PN}_${PV}-src" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" LICENSE="GPL" IUSE="" KEYWORDS="~x86 ~amd64" SLOT="0" DEPEND="" RDEPEND="sys-apps/dbus dev-python/dbus-python dev-python/pygtk >=x11-libs/gtk+-2.12 net-wireless/wireless-tools net-wireless/wpa_supplicant virtual/dhcpc " src_install() { cd ${WORKDIR} && cp -a * ../image newinitd ${FILESDIR}/${P}-init.d wicd insinto / } pkg_postinst() { einfo einfo "Start the WICD GUI using:" einfo " /opt/wicd/gui.py" einfo }