talimat 1.2 KB

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