wok-current diff wicd/receipt @ rev 2810

libQtSql update to 4.5.0
author Allan Pinto <allan316@gmail.com>
date Wed Apr 29 10:18:34 2009 +0000 (2009-04-29)
parents
children ce5e512ab4b2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/wicd/receipt	Wed Apr 29 10:18:34 2009 +0000
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="wicd"
     1.7 +VERSION="1.5.9"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Network connection manager"
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +DEPENDS="python dbus-python ethtool"
    1.12 +BUILD_DEPENDS="python-dev dbus-python-dev python"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://heanet.dl.sourceforge.net/sourceforge/wicd/"
    1.15 +WGET_URL="$WEB_SITE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +    cd $src
    1.21 +    python setup.py configure
    1.22 +    python setup.py install --root=$PWD/_pkg
    1.23 +   
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +    mkdir -p $fs/usr
    1.30 +    mkdir -p $fs/etc
    1.31 +    mkdir -p $fs/var
    1.32 +    cp -a $_pkg/usr/* $fs/usr
    1.33 +    cp -a $_pkg/etc/* $fs/etc
    1.34 +    cp -a $_pkg/var/* $fs/var
    1.35 +    rm -f -r $fs/usr/share/doc
    1.36 +    rm -f -r $fs/usr/share/man
    1.37 +    rm -f -r $fs/usr/share/icons/hicolor/*
    1.38 +    rm -f -r $fs/usr/share/locale
    1.39 +    cp -a $_pkg/usr/share/icons/hicolor/scalable $fs/usr/share/icons/hicolor
    1.40 +    cp -a $_pkg/usr/share/icons/hicolor/32x32 $fs/usr/share/icons/hicolor
    1.41 +    mkdir -p $fs/etc/init.d
    1.42 +    cp -a stuff/wicd $fs/etc/init.d
    1.43 +    cp -a stuff/wpa_passphrase $fs/usr/bin        
    1.44 +}