diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-21 22:46:53 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-21 22:46:53 +0200 |
commit | 49e9c1525b9c85b89d2baead0644a21a5d53c0a9 (patch) | |
tree | 8faad5caa0a6c6e21ec495f182d658cf71f7d91d /extra/wicd/Pkgfile | |
parent | 8d7840ba64b6594bd9c55d586681f68c9bcaa4bc (diff) | |
download | nutyx-extra-49e9c1525b9c85b89d2baead0644a21a5d53c0a9.tar.gz nutyx-extra-49e9c1525b9c85b89d2baead0644a21a5d53c0a9.tar.bz2 nutyx-extra-49e9c1525b9c85b89d2baead0644a21a5d53c0a9.tar.xz nutyx-extra-49e9c1525b9c85b89d2baead0644a21a5d53c0a9.zip |
Ajout de wicd#1.6.2-1
Diffstat (limited to 'extra/wicd/Pkgfile')
-rw-r--r-- | extra/wicd/Pkgfile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/extra/wicd/Pkgfile b/extra/wicd/Pkgfile new file mode 100644 index 000000000..a6c0e8b1b --- /dev/null +++ b/extra/wicd/Pkgfile @@ -0,0 +1,42 @@ +# Description: Interface graphique pour gérer le wifi +# URL: http://wicd.sourceforge.net/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: pygtk, wpa_supplicant, ethtool, dhcpcd, dbus-python, wireless_tools + +name=wicd +version=1.6.2 +release=1 +source=(http://downloads.sourceforge.net/$name/wicd-$version.tar.gz \ + wicd wicd_in_usr.patch wicd-locale.patch wicd.desktop ) + +build() { + cd $name-$version + python setup.py configure --no-install-init \ + --resume=/usr/share/wicd/scripts/ \ + --suspend=/usr/share/wicd/scripts --verbose + python setup.py install --root=$PKG + # Add custom rc.d script + install -Dm644 ../wicd.desktop $PKG/usr/share/applications/wicd.desktop + + cd build/lib/wicd + for i in *.py; do + install -D -m755 $i $PKG/usr/lib/wicd/$i + done + chmod 755 $PKG/usr/lib/wicd/wicd-daemon.py + rm -rf $PKG/usr/share/autostart + + #Install the daemon service + + mkdir -v -p $PKG/etc/rc.d/init.d + mkdir -v -p $PKG/etc/rc.d/rc{0,1,3,4,5,6}.d + install -D -m 755 $SRC/wicd $PKG/etc/rc.d/init.d/wicd + + ln -svf ../init.d/wicd $PKG/etc/rc.d/rc3.d/S20wicd + ln -svf ../init.d/wicd $PKG/etc/rc.d/rc5.d/S20wicd + ln -svf ../init.d/wicd $PKG/etc/rc.d/rc4.d/S20wicd + ln -svf ../init.d/wicd $PKG/etc/rc.d/rc0.d/K80wicd + ln -svf ../init.d/wicd $PKG/etc/rc.d/rc1.d/K80wicd + ln -svf ../init.d/wicd $PKG/etc/rc.d/rc6.d/K80wicd + chown -R 0:0 $PKG/ +} |