46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
# Description: A wired and wireless network manager.
|
|
# URL: http://launchpad.net/wicd
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: dbus-python pygtk urwid wpa_supplicant
|
|
|
|
name=wicd
|
|
version=1.7.2.4
|
|
release=5
|
|
source=(http://launchpad.net/wicd/1.7/$version/+download/$name-$version.tar.gz
|
|
wicd.rc
|
|
http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/diff/770
|
|
http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/diff/831
|
|
http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/diff/835)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
# https://launchpad.net/bugs/993912
|
|
# http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/revision/770
|
|
patch -p0 -i $SRC/770
|
|
|
|
# https://launchpad.net/bugs/1075399
|
|
# http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/revision/831
|
|
patch -p0 -i $SRC/831
|
|
|
|
# https://launchpad.net/bugs/1075399
|
|
# http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/revision/835
|
|
patch -p0 -i $SRC/835
|
|
|
|
# really don't use NLS
|
|
rm -r po
|
|
|
|
/usr/bin/python setup.py configure \
|
|
--dbus=/usr/etc/dbus-1/system.d \
|
|
--etc=/etc/wicd \
|
|
--no-install-acpi \
|
|
--no-install-i18n-man \
|
|
--no-install-docs
|
|
|
|
/usr/bin/python setup.py install --root=$PKG
|
|
/usr/bin/python -mcompileall $PKG
|
|
install -m 0744 -D $SRC/wicd.rc $PKG/etc/rc.d/wicd
|
|
|
|
rm -r $PKG/etc/xdg
|
|
}
|