wok annotate wicd/receipt @ rev 2733
Add: wicd network manager
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Apr 24 07:39:31 2009 +0000 (2009-04-24) |
parents | |
children | ce5e512ab4b2 |
rev | line source |
---|---|
jozee@2733 | 1 # SliTaz package receipt. |
jozee@2733 | 2 |
jozee@2733 | 3 PACKAGE="wicd" |
jozee@2733 | 4 VERSION="1.5.9" |
jozee@2733 | 5 CATEGORY="misc" |
jozee@2733 | 6 SHORT_DESC="Network connection manager" |
jozee@2733 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@2733 | 8 DEPENDS="python dbus-python ethtool" |
jozee@2733 | 9 BUILD_DEPENDS="python-dev dbus-python-dev python" |
jozee@2733 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2733 | 11 WEB_SITE="http://heanet.dl.sourceforge.net/sourceforge/wicd/" |
jozee@2733 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@2733 | 13 |
jozee@2733 | 14 # Rules to configure and make the package. |
jozee@2733 | 15 compile_rules() |
jozee@2733 | 16 { |
jozee@2733 | 17 cd $src |
jozee@2733 | 18 python setup.py configure |
jozee@2733 | 19 python setup.py install --root=$PWD/_pkg |
jozee@2733 | 20 |
jozee@2733 | 21 } |
jozee@2733 | 22 |
jozee@2733 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2733 | 24 genpkg_rules() |
jozee@2733 | 25 { |
jozee@2733 | 26 mkdir -p $fs/usr |
jozee@2733 | 27 mkdir -p $fs/etc |
jozee@2733 | 28 mkdir -p $fs/var |
jozee@2733 | 29 cp -a $_pkg/usr/* $fs/usr |
jozee@2733 | 30 cp -a $_pkg/etc/* $fs/etc |
jozee@2733 | 31 cp -a $_pkg/var/* $fs/var |
jozee@2733 | 32 rm -f -r $fs/usr/share/doc |
jozee@2733 | 33 rm -f -r $fs/usr/share/man |
jozee@2733 | 34 rm -f -r $fs/usr/share/icons/hicolor/* |
jozee@2733 | 35 rm -f -r $fs/usr/share/locale |
jozee@2733 | 36 cp -a $_pkg/usr/share/icons/hicolor/scalable $fs/usr/share/icons/hicolor |
jozee@2733 | 37 cp -a $_pkg/usr/share/icons/hicolor/32x32 $fs/usr/share/icons/hicolor |
jozee@2733 | 38 mkdir -p $fs/etc/init.d |
jozee@2733 | 39 cp -a stuff/wicd $fs/etc/init.d |
jozee@2733 | 40 cp -a stuff/wpa_passphrase $fs/usr/bin |
jozee@2733 | 41 } |