wok-4.x view wicd/receipt @ rev 2785

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