2009-11-30 22:30:06 +00:00
|
|
|
# Template file for 'wicd'
|
|
|
|
pkgname=wicd
|
2013-07-28 15:58:26 +00:00
|
|
|
version=1.7.2.4
|
|
|
|
revision=1
|
|
|
|
makedepends="dhcpcd wpa_supplicant wireless_tools ethtool dbus-glib dbus-python
|
|
|
|
rfkill pygobject2 python-urwid>=0.9.9 python-distribute python-babel"
|
2009-11-30 22:30:06 +00:00
|
|
|
short_desc="Open source wired and wireless network manager"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-10 12:43:41 +00:00
|
|
|
homepage="http://wicd.sourceforge.net"
|
|
|
|
license="GPL-2"
|
2013-07-28 15:58:26 +00:00
|
|
|
distfiles="http://launchpad.net/wicd/1.7/${version}/+download/wicd-${version}.tar.gz"
|
|
|
|
checksum=dcfdfb5dbbb49dbb9b205fddf064d6b1a4e88f66f1cf40d12fb7fe0e0c7cdc97
|
2009-11-30 22:30:06 +00:00
|
|
|
long_desc="
|
|
|
|
Wicd is an open source wired and wireless network manager for Linux
|
|
|
|
which aims to provide a simple interface to connect to networks with a
|
|
|
|
wide variety of settings.
|
|
|
|
|
|
|
|
Some of Wicd's features include:
|
|
|
|
* No Gnome dependencies (although it does require GTK), so it is easy to
|
|
|
|
use in XFCE, Fluxbox, Openbox, Enlightenment, etc.
|
|
|
|
* Ability to connect to wired (Ethernet only, no PPPoE/DSL support yet)
|
|
|
|
and wireless networks
|
|
|
|
* Profiles for each wireless network and wired network
|
|
|
|
* Many encryption schemes, some of which include WEP/WPA/WPA2 (and you
|
|
|
|
can add your own)
|
|
|
|
* Remains compatible with wireless-tools
|
|
|
|
* Tray icon showing network activity and signal strength
|
|
|
|
* A full-featured console interface"
|
|
|
|
|
2013-07-28 15:58:26 +00:00
|
|
|
do_build() {
|
|
|
|
python setup.py configure --verbose --no-install-init \
|
2009-11-30 22:30:06 +00:00
|
|
|
--resume=/usr/share/wicd/scripts \
|
2013-07-28 15:58:26 +00:00
|
|
|
--suspend=/usr/share/wicd/scripts \
|
|
|
|
--python=/usr/bin/python2 --lib=/usr/lib --sbin=/usr/bin \
|
|
|
|
--systemd=/usr/lib/systemd/system
|
|
|
|
|
|
|
|
#HACK for https://bugs.launchpad.net/wicd/+bug/928589
|
|
|
|
mkdir -p translations/ast/LC_MESSAGES
|
|
|
|
msgfmt po/ast.po -o translations/ast/LC_MESSAGES/wicd.mo
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2011-07-10 12:43:41 +00:00
|
|
|
python setup.py install --root=${DESTDIR}
|
2009-11-30 22:30:06 +00:00
|
|
|
|
2011-07-10 12:43:41 +00:00
|
|
|
vinstall ${FILESDIR}/wicd.desktop 644 usr/share/applications
|
|
|
|
vmkdir usr/lib/wicd
|
|
|
|
vcopy "build/lib/wicd/*.py" usr/lib/wicd
|
|
|
|
chmod 755 ${DESTDIR}/usr/lib/wicd/*.py
|
2012-02-07 03:44:57 +00:00
|
|
|
rm -rf ${DESTDIR}/usr/share/doc
|
2013-07-28 15:58:26 +00:00
|
|
|
rm -rf ${DESTDIR}/etc/logrotate.d
|
|
|
|
rm -rf ${DESTDIR}/usr/lib/pm-utils
|
2009-11-30 22:30:06 +00:00
|
|
|
}
|
2013-04-14 15:36:49 +00:00
|
|
|
|
|
|
|
wicd-gtk_package() {
|
|
|
|
noarch=yes
|
|
|
|
depends="wicd>=${version} pygtk notify-python shared-mime-info desktop-file-utils hicolor-icon-theme"
|
2013-07-28 15:58:26 +00:00
|
|
|
short_desc+=" - GTK UI"
|
2013-04-14 15:36:49 +00:00
|
|
|
pycompile_dirs="usr/share/wicd/gtk"
|
|
|
|
pkg_install() {
|
|
|
|
vmove etc/xdg
|
|
|
|
vmove usr/bin/wicd-client
|
|
|
|
vmove usr/bin/wicd-gtk
|
|
|
|
vmove usr/share/applications
|
|
|
|
vmove usr/share/pixmaps
|
|
|
|
vmove usr/share/icons
|
|
|
|
vmove usr/share/wicd/gtk
|
|
|
|
vmove usr/share/man/man1/wicd-client.1
|
|
|
|
vmove usr/share/man/nl/man1/wicd-client.1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
wicd_package() {
|
|
|
|
noarch=yes
|
2013-07-28 15:58:26 +00:00
|
|
|
depends="dbus-glib dhcpcd ethtool net-tools dbus-python python-gobject2 python-urwid
|
|
|
|
rfkill wireless_tools wpa_supplicant"
|
2013-04-14 15:36:49 +00:00
|
|
|
pycompile_module="wicd"
|
|
|
|
pycompile_dirs="usr/lib/wicd usr/share/wicd"
|
|
|
|
conf_files="
|
|
|
|
/etc/dbus-1/system.d/wicd.conf
|
|
|
|
/etc/wicd/encryption/templates/active"
|
|
|
|
systemd_services="wicd.service on"
|
|
|
|
pkg_install() {
|
2013-07-28 15:58:26 +00:00
|
|
|
vmove all
|
2013-04-14 15:36:49 +00:00
|
|
|
}
|
|
|
|
}
|