# Tanım: Linux için kablolu ve kablosuz ağ yöneticisi # URL: http://wicd.sourceforge.net/ # Paketçi: milisarge # Gerekler: python-gtk wpa-supplicant dbus-python wireless-tools dhcpcd # Grup: ağ sistem isim=wicd surum=1.7.2.4 devir=1 kaynak=( http://launchpad.net/wicd/1.7/$surum/+download/$isim-$surum.tar.gz \ http://downloads.nutyx.org/files/patchs/$isim/dbus_string_fix.patch wicd.rc) derle() { unset MAKEFLAGS cd $isim-$surum patch -Np0 -i ../dbus_string_fix.patch sed -i '/wpath.logrotate\|wpath.systemd/d' setup.py python setup.py configure --no-install-kde \ --no-install-acpi \ --no-install-pmutils \ --no-install-init \ --no-install-docs # Hack sinon les locales s'installent pas mkdir -p translations/ast/LC_MESSAGES for i in zh_CN zh_HK zh_TW bg ca da de cs \ el fa en eo es fi et eu fr gl he id hr hu \ ja it ka kk ko lt lv ml nb nl nn pl pt ro \ ru sk sl te sr sv tr uk vi ast ar_EG pt_BR do msgfmt po/$i.po -o translations/$i/LC_MESSAGES/wicd.mo done python setup.py install --optimize=1 --root=$PKG cp scripts/wicd $PKG/usr/bin/wicd install -m 0744 -D $SRC/wicd.rc $PKG/etc/rc.d/wicd echo "NotShowIn=KDE" >> $PKG/etc/xdg/autostart/wicd-tray.desktop }