2011-07-10 05:34:30 +02:00
|
|
|
# Description: A wired and wireless network manager.
|
|
|
|
# URL: http://wicd.sourceforge.net/
|
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2011-10-06 03:05:11 +02:00
|
|
|
# Depends on: dbus-python pygtk
|
2011-07-10 05:34:30 +02:00
|
|
|
|
|
|
|
name=wicd
|
|
|
|
version=1.7.0
|
2011-10-06 03:05:11 +02:00
|
|
|
release=2
|
2011-08-21 03:24:41 +02:00
|
|
|
source=(http://download.sourceforge.net/project/wicd/wicd-stable/$name-$version/$name-$version.tar.bz2
|
2011-07-10 05:34:30 +02:00
|
|
|
wicd.rc)
|
|
|
|
|
2011-08-21 03:24:41 +02:00
|
|
|
build() {
|
2011-07-10 05:34:30 +02:00
|
|
|
cd $name-$version
|
|
|
|
|
2011-10-06 03:05:11 +02:00
|
|
|
python setup.py configure \
|
|
|
|
--dbus=/usr/etc/dbus-1/system.d \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--etc=/etc/wicd
|
2011-07-10 05:34:30 +02:00
|
|
|
|
2011-08-21 03:24:41 +02:00
|
|
|
python setup.py install --root=$PKG
|
2011-10-06 03:05:11 +02:00
|
|
|
python -mcompileall $PKG
|
2011-07-10 05:34:30 +02:00
|
|
|
install -m 0744 -D $SRC/wicd.rc $PKG/etc/rc.d/wicd
|
2011-10-06 03:05:11 +02:00
|
|
|
rm -r \
|
|
|
|
$PKG/etc/xdg \
|
|
|
|
$PKG/usr/man/nl \
|
|
|
|
$PKG/usr/share/locale \
|
|
|
|
$PKG/usr/share/doc
|
|
|
|
|
|
|
|
|
2011-07-10 05:34:30 +02:00
|
|
|
}
|