wok-6.x diff wicd/receipt @ rev 3537
tazbb: update package stats after each build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jun 22 17:21:55 2009 +0200 (2009-06-22) |
parents | d6e2659ce0bc |
children | 35ec83c60e58 |
line diff
1.1 --- a/wicd/receipt Fri Apr 24 07:39:31 2009 +0000 1.2 +++ b/wicd/receipt Mon Jun 22 17:21:55 2009 +0200 1.3 @@ -5,7 +5,7 @@ 1.4 CATEGORY="misc" 1.5 SHORT_DESC="Network connection manager" 1.6 MAINTAINER="jozee@slitaz.org" 1.7 -DEPENDS="python dbus-python ethtool" 1.8 +DEPENDS="python dbus-python ethtool wpa_supplicant" 1.9 BUILD_DEPENDS="python-dev dbus-python-dev python" 1.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 WEB_SITE="http://heanet.dl.sourceforge.net/sourceforge/wicd/" 1.12 @@ -37,5 +37,21 @@ 1.13 cp -a $_pkg/usr/share/icons/hicolor/32x32 $fs/usr/share/icons/hicolor 1.14 mkdir -p $fs/etc/init.d 1.15 cp -a stuff/wicd $fs/etc/init.d 1.16 - cp -a stuff/wpa_passphrase $fs/usr/bin 1.17 + # dhclient as fake udhcpc wrapper 1.18 + cp -a stuff/dhclient $fs/usr/bin 1.19 + # set permissions 1.20 + chmod +x $fs/usr/bin/dhclient 1.21 + 1.22 } 1.23 + 1.24 +# edit daemons.conf. 1.25 +post_install() 1.26 +{ 1.27 + local root 1.28 + root=$1 1.29 + if ! grep -q ^WICD_OPTIONS $root/etc/daemons.conf; then 1.30 + echo '# wicd options.' >> $root/etc/daemons.conf 1.31 + echo 'WICD_OPTIONS=""' >> $root/etc/daemons.conf 1.32 + echo '' >> $root/etc/daemons.conf 1.33 + fi 1.34 +}