blob: b8ef8000a9029296215bc0766e67f155f0d8e510 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# 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: urwid, pygtk, wpa_supplicant, ethtool, dbus-python, wireless_tools, dhcpcd
name=wicd
version=1.7.0
release=6
source=(http://downloads.sourceforge.net/$name/wicd-$version.tar.gz \
http://nutyx.meticul.eu/files/patchs/$name/{wicd_in_usr.patch,wicd-locale.patch,wicd.desktop} )
build() {
cd $name-$version
python2 setup.py configure --no-install-init \
--resume=/usr/share/wicd/scripts/ \
--suspend=/usr/share/wicd/scripts --verbose
python2 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
rm -rf $PKG/usr/share/autostart
chmod 755 $PKG/usr/share/wicd/daemon/wicd-daemon.py
chown -R 0:0 $PKG/
rm $PKG/var/log/wicd/.empty_on_purpose
}
|