2009-11-30 22:30:06 +00:00
|
|
|
# Template file for 'wicd'
|
|
|
|
pkgname=wicd
|
2010-01-17 05:55:12 +00:00
|
|
|
version=1.7.0
|
2011-10-11 02:10:42 +00:00
|
|
|
revision=4
|
2011-07-10 12:43:41 +00:00
|
|
|
patch_args="-Np1"
|
2010-01-17 05:55:12 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
2009-11-30 22:30:06 +00:00
|
|
|
build_style=custom-install
|
|
|
|
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"
|
2010-01-17 05:55:12 +00:00
|
|
|
checksum=14c5692bf8a4c93c9ac083ce9ad677b0d9022b19f84e777854766b2a6f753b32
|
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"
|
|
|
|
|
|
|
|
keep_empty_dirs=yes
|
|
|
|
noarch=yes
|
|
|
|
conf_files="
|
|
|
|
/etc/dbus-1/system.d/wicd.conf
|
|
|
|
/etc/wicd/encryption/templates/active"
|
2011-10-11 02:10:42 +00:00
|
|
|
systemd_services="wicd.service"
|
2009-11-30 22:30:06 +00:00
|
|
|
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
2011-10-05 14:42:03 +00:00
|
|
|
pycompile_module="wicd"
|
2009-11-30 22:30:06 +00:00
|
|
|
|
|
|
|
Add_dependency full dbus-python
|
|
|
|
Add_dependency full pygtk
|
|
|
|
Add_dependency full dhcpcd
|
|
|
|
Add_dependency full wpa_supplicant
|
|
|
|
Add_dependency full wireless_tools
|
|
|
|
Add_dependency full ethtool
|
|
|
|
Add_dependency full shared-mime-info
|
2010-01-17 05:55:12 +00:00
|
|
|
Add_dependency full python-urwid ">=0.9.9"
|
2009-11-30 22:30:06 +00:00
|
|
|
Add_dependency full hicolor-icon-theme
|
2010-01-17 05:55:12 +00:00
|
|
|
Add_dependency full desktop-file-utils
|
2009-11-30 22:54:26 +00:00
|
|
|
Add_dependency full notify-python
|
2009-11-30 22:30:06 +00:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
python setup.py configure --no-install-init \
|
|
|
|
--resume=/usr/share/wicd/scripts \
|
2011-07-10 12:43:41 +00:00
|
|
|
--suspend=/usr/share/wicd/scripts
|
|
|
|
python setup.py install --root=${DESTDIR}
|
2009-11-30 22:30:06 +00:00
|
|
|
|
2011-10-11 02:10:42 +00:00
|
|
|
vinstall ${FILESDIR}/wicd.service 644 lib/systemd/system
|
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
|
2009-11-30 22:30:06 +00:00
|
|
|
}
|