Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ea08c3358978e20912129e4f25f4573e07a7714e

commit ea08c3358978e20912129e4f25f4573e07a7714e
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Mon Jul 20 05:33:30 2009 +0200

wicd-1.6.2-1-i686
*new package

diff --git a/source/xapps-extra/wicd/FrugalBuild 
b/source/xapps-extra/wicd/FrugalBuild
new file mode 100644
index 0000000..3eb9bde
--- /dev/null
+++ b/source/xapps-extra/wicd/FrugalBuild
@@ -0,0 +1,28 @@
+# Compiling time: 0 SBU
+# Maintainer: bouleetbil <bouleet...@frogdev.info>
+
+pkgname=wicd
+pkgver=1.6.2
+pkgrel=1
+pkgdesc="A wired and wireless network manager for Linux"
+depends=('dbus-python' 'pygtk' 'dhcp' 'dhcpcd' 'wireless_tools' 
'wpa_supplicant'\
+       'ethtool' 'python>=2.6' 'urwid' 'python-wpactrl' 'python-iwscan')
+groups=('xapps-extra')
+archs=('i686' 'x86_64')
+options=('scriptlet')
+_F_gnome_iconcache="y"
+_F_gnome_desktop="y"
+_F_sourceforge_realname="wicd-stable"
+Finclude sourceforge gnome-scriptlet
+source=($source rc.wicd)
+sha1sums=('936a3c6bb05f284afcf5fd03ac0a72b2f212d31f' \
+          'a3a925a48b0a25e6415ef7cd7b10b6c3e0dc25de')
+
+build() {
+       Fcd
+       python ./setup.py configure --no-install-init --no-install-docs 
--resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose 
|| Fdie
+       python ./setup.py build || Fdie
+       Fmakeinstall
+       Frcd2 wicd
+       Fbuild_gnome_scriptlet
+}
diff --git a/source/xapps-extra/wicd/rc.wicd b/source/xapps-extra/wicd/rc.wicd
new file mode 100644
index 0000000..434066a
--- /dev/null
+++ b/source/xapps-extra/wicd/rc.wicd
@@ -0,0 +1,42 @@
+#!/bin/bash
+
+# (c) 2008 bouleetbil <bouleet...@frogdev.info>
+# rc.wicd for FrugalWare
+# distributed under GPL License
+
+# chkconfig: 2345 99 02
+# description: Run wicd daemon
+
+source /lib/initscripts/functions
+TEXTDOMAIN=wicd
+TEXTDOMAINDIR=/lib/initscripts/messages
+
+actions=(restart start status stop)
+daemon="wicd daemon"
+
+pid="pidof /usr/sbin/wicd 2> /dev/null"
+
+rc_start()
+{
+       start_msg
+       if [[ "$(eval $pid)" == "" ]] ; then
+               /usr/sbin/wicd 2> /dev/null
+               ok $?
+       else
+               ok 999
+       fi
+}
+
+rc_stop()
+{
+       stop_msg
+       if [[ "$(eval $pid)" != "" ]] ; then
+               killall wicd
+               rm -f /var/run/wicd/wicd.pid
+               ok $?
+       else
+               ok 999
+       fi
+}
+
+rc_exec $1
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to