void-packages/srcpkgs/wicd/template

78 lines
2.3 KiB
Plaintext
Raw Normal View History

# Template file for 'wicd'
pkgname=wicd
2012-02-05 22:32:44 +01:00
version=1.7.1
2012-07-09 17:46:03 +02:00
revision=4
makedepends="dhcpcd wpa_supplicant wireless_tools ethtool dbus-python
pygobject2 python-urwid>=0.9.9"
short_desc="Open source wired and wireless network manager"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://wicd.sourceforge.net"
license="GPL-2"
2012-07-09 17:46:03 +02:00
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
2012-02-05 22:32:44 +01:00
checksum=19f6f94138eed16fe25ad434d4b0b382056c656a48f2d8cee31ac7ffbf949203
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"
2012-02-05 22:32:44 +01:00
do_install() {
python setup.py configure \
--resume=/usr/share/wicd/scripts \
--suspend=/usr/share/wicd/scripts
python setup.py install --root=${DESTDIR}
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
rm -rf ${DESTDIR}/usr/share/doc
2012-07-09 17:46:03 +02:00
vmove "lib/*" usr/lib
}
wicd-gtk_package() {
noarch=yes
depends="wicd>=${version} pygtk notify-python shared-mime-info desktop-file-utils hicolor-icon-theme"
short_desc="${short_desc} - GTK UI"
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
depends="${makedepends}"
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() {
vmove etc
vmove usr
vmove var
}
}