diff options
author | sibel <lesibel@free.fr> | 2011-01-17 13:27:16 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-01-17 13:27:16 +0100 |
commit | 827ea761791c7aca4fa757f7ebf405de41fa2395 (patch) | |
tree | 4ae17df777fc5d13fb11567dd080fb214bad6dbc /extra/wicd/Pkgfile | |
parent | a934c99d5d94b51dc90154de5d5884f750abc0f2 (diff) | |
download | nutyx-extra-827ea761791c7aca4fa757f7ebf405de41fa2395.tar.gz nutyx-extra-827ea761791c7aca4fa757f7ebf405de41fa2395.tar.bz2 nutyx-extra-827ea761791c7aca4fa757f7ebf405de41fa2395.tar.xz nutyx-extra-827ea761791c7aca4fa757f7ebf405de41fa2395.zip |
wicd, correction port
Diffstat (limited to 'extra/wicd/Pkgfile')
-rw-r--r-- | extra/wicd/Pkgfile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/extra/wicd/Pkgfile b/extra/wicd/Pkgfile index 9d5c92b6e..a6d847a8d 100644 --- a/extra/wicd/Pkgfile +++ b/extra/wicd/Pkgfile @@ -7,12 +7,19 @@ name=wicd version=1.7.0 -release=6 +release=7 source=(http://downloads.sourceforge.net/$name/wicd-$version.tar.gz \ - http://nutyx.meticul.eu/files/patchs/$name/{wicd_in_usr.patch,wicd-locale.patch,wicd.desktop} ) + http://nutyx.meticul.eu/files/patchs/$name/{wicd_in_usr.patch,wicd-locale.patch,wicd.desktop} + wicd-1.7.0-python-2.7.patch + wicd-1.7.0-script-execution.patch) build() { cd $name-$version + patch -p0 < ../wicd-1.7.0-script-execution.patch + patch -p1 -i ../wicd-1.7.0-python-2.7.patch + find . -type f -exec sed -i 's@#!/usr.*python@#!/usr/bin/python2@' {} \; + export PYTHON=python2 + python2 setup.py configure --no-install-init \ --resume=/usr/share/wicd/scripts/ \ --suspend=/usr/share/wicd/scripts --verbose |