Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=bouleetbiltesting.git;a=commitdiff;h=ac65ee1f16af923b72cfc92f3fd8485f26b51665
commit ac65ee1f16af923b72cfc92f3fd8485f26b51665
Author: bouleetbil <[EMAIL PROTECTED]>
Date: Sun Nov 2 09:16:28 2008 +0100
wicd-1.5.4-1-i686
*new package
diff --git a/source/xapps-extra/wicd/FrugalBuild
b/source/xapps-extra/wicd/FrugalBuild
new file mode 100644
index 0000000..8dd4c2b
--- /dev/null
+++ b/source/xapps-extra/wicd/FrugalBuild
@@ -0,0 +1,29 @@
+# Compiling time: 0 SBU
+# Maintainer: bouleetbil <[EMAIL PROTECTED]>
+
+pkgname=wicd
+pkgver=1.5.4
+pkgrel=1
+pkgdesc="A wired and wireless network manager for Linux"
+depends=('dbus-python' 'pygtk' 'dhcp' 'wireless_tools' 'wpa_supplicant'\
+ 'ethtool')
+groups=('xapps-extra')
+archs=('i686')
+options=('scriptlet')
+_F_gnome_iconcache="y"
+_F_gnome_desktop="y"
+_F_sourceforge_realname="wicd-stable"
+_F_sourceforge_prefix="wicd-"
+Finclude sourceforge gnome-scriptlet
+source=($source rc.wicd)
+sha1sums=('d2a4dde183729061897209fd38204f39a3dc8614' \
+ 'e0a8466fe5faeaefa41bd6e8874547fcece1c241')
+
+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..a4ac70e
--- /dev/null
+++ b/source/xapps-extra/wicd/rc.wicd
@@ -0,0 +1,45 @@
+#!/bin/bash
+
+# (c) 2008 bouleetbil <[EMAIL PROTECTED]>
+# rc.wicd for FrugalWare
+# distributed under GPL License
+
+# chkconfig: 2345 95 05
+# 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
+
+# vim: ft=sh
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git