contrib/wicd/Pkgfile

42 lines
1.1 KiB
Plaintext
Raw Normal View History

2011-07-10 05:34:30 +02:00
# Description: A wired and wireless network manager.
2020-06-01 17:45:48 +02:00
# URL: https://launchpad.net/wicd
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: dbus-python mii-tool pygtk wireless-tools wpa_supplicant
2011-07-10 05:34:30 +02:00
name=wicd
version=1.7.4
release=1
source=(https://launchpad.net/wicd/${version%.*}/$version/+download/$name-$version.tar.gz
wicd.rc
wicd-1.7.3-bitrate-property.patch
wicd-1.7.3-undefined-LANG.patch
wicd-1.7.3-urwid-1.3.0.patch)
2011-07-10 05:34:30 +02:00
build() {
2011-07-10 05:34:30 +02:00
cd $name-$version
patch -p1 -i $SRC/wicd-1.7.3-bitrate-property.patch
patch -p1 -i $SRC/wicd-1.7.3-undefined-LANG.patch
patch -p1 -i $SRC/wicd-1.7.3-urwid-1.3.0.patch
2013-02-25 12:55:56 +01:00
# really don't use NLS
rm po/*.po
2013-02-25 12:55:56 +01:00
/usr/bin/python setup.py configure \
2013-02-25 12:55:56 +01:00
--etc=/etc/wicd \
--dbus=/usr/etc/dbus-1/system.d \
--no-install-kde \
--no-install-acpi \
--no-install-pmutils \
--no-install-init \
2013-02-25 12:55:56 +01:00
--no-install-i18n-man \
--no-install-docs \
--no-install-gnome-shell-extensions
2011-07-10 05:34:30 +02:00
/usr/bin/python setup.py build
/usr/bin/python setup.py install --root=$PKG
/usr/bin/python -mcompileall $PKG
2012-04-04 04:27:38 +02:00
install -m 0744 -D $SRC/wicd.rc $PKG/etc/rc.d/wicd
2011-07-10 05:34:30 +02:00
}