2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Linux için kablolu ve kablosuz ağ yöneticisi
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://wicd.sourceforge.net/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: python-gtk wpa-supplicant dbus-python wireless-tools dhcpcd
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=wicd
|
|
|
|
|
surum=1.7.2.4
|
|
|
|
|
devir=1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
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)
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-02-24 01:27:23 +01:00
|
|
|
|
unset MAKEFLAGS
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd $isim-$surum
|
2016-02-24 01:27:23 +01:00
|
|
|
|
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 \
|
2016-03-13 13:04:15 +01:00
|
|
|
|
--no-install-init \
|
|
|
|
|
--no-install-docs
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
# 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
|
2016-03-24 10:21:54 +01:00
|
|
|
|
install -m 0744 -D $SRC/wicd.rc $PKG/etc/rc.d/wicd
|
2016-02-24 01:27:23 +01:00
|
|
|
|
echo "NotShowIn=KDE" >> $PKG/etc/xdg/autostart/wicd-tray.desktop
|
|
|
|
|
}
|