wok-next diff wicd/receipt @ rev 18322

Add xsshfs (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 12:25:21 2015 +0200 (2015-09-01)
parents 2a21689b0af7
children 9e01bc6321ea
line diff
     1.1 --- a/wicd/receipt	Thu Oct 03 09:52:57 2013 +0000
     1.2 +++ b/wicd/receipt	Tue Sep 01 12:25:21 2015 +0200
     1.3 @@ -17,44 +17,40 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -    cd $src
     1.8 -    # Fix problem with new urwid FS#33378 LP#1075399
     1.9 -    patch -Np0 -i $stuff/831_830.patch
    1.10 -    patch -Np0 -i $stuff/835_834.patch
    1.11 -    patch -Np0 -i $stuff/dbus_string_fix.patch
    1.12 -    python setup.py configure
    1.13 -    #HACK for https://bugs.launchpad.net/wicd/+bug/928589
    1.14 -    mkdir -p translations/ast/LC_MESSAGES
    1.15 -    msgfmt po/ast.po -o translations/ast/LC_MESSAGES/wicd.mo
    1.16 -    python setup.py install --root=$DESTDIR
    1.17 +	# Fix problem with new urwid FS#33378 LP#1075399
    1.18 +	patch -Np0 -i $stuff/831_830.patch
    1.19 +	patch -Np0 -i $stuff/835_834.patch
    1.20 +	patch -Np0 -i $stuff/dbus_string_fix.patch
    1.21 +	python setup.py configure
    1.22 +	#HACK for https://bugs.launchpad.net/wicd/+bug/928589
    1.23 +	mkdir -p translations/ast/LC_MESSAGES
    1.24 +	msgfmt po/ast.po -o translations/ast/LC_MESSAGES/wicd.mo
    1.25 +	python setup.py install --root=$DESTDIR
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31 -    mkdir -p $fs/usr
    1.32 -    mkdir -p $fs/etc
    1.33 -    mkdir -p $fs/var
    1.34 -    cp -a $install/usr/* $fs/usr
    1.35 -    cp -a $install/etc/* $fs/etc
    1.36 -    cp -a $install/var/* $fs/var
    1.37 -    rm -f -r $fs/usr/share/doc
    1.38 -    rm -f -r $fs/usr/share/man
    1.39 -    rm -f -r $fs/usr/share/icons/hicolor/*
    1.40 -    rm -f -r $fs/usr/share/locale
    1.41 -    cp -a $install/usr/share/icons/hicolor/scalable $fs/usr/share/icons/hicolor
    1.42 -    cp -a $install/usr/share/icons/hicolor/32x32 $fs/usr/share/icons/hicolor
    1.43 -    mkdir -p $fs/etc/init.d
    1.44 -    cp -a $stuff/wicd $fs/etc/init.d
    1.45 +	mkdir -p $fs/usr $fs/etc $fs/var
    1.46 +	cp -a $install/usr/* $fs/usr
    1.47 +	cp -a $install/etc/* $fs/etc
    1.48 +	cp -a $install/var/* $fs/var
    1.49 +	rm -f -r $fs/usr/share/doc
    1.50 +	rm -f -r $fs/usr/share/man
    1.51 +	rm -f -r $fs/usr/share/icons/hicolor/*
    1.52 +	rm -f -r $fs/usr/share/locale
    1.53 +	cp -a $install/usr/share/icons/hicolor/scalable \
    1.54 +		  $install/usr/share/icons/hicolor/32x32 $fs/usr/share/icons/hicolor
    1.55 +	mkdir -p $fs/etc/init.d
    1.56 +	cp -a $stuff/wicd $fs/etc/init.d
    1.57  	# dhclient as fake udhcpc wrapper
    1.58 -  	cp -a $stuff/dhclient $fs/usr/bin 
    1.59 +	cp -a $stuff/dhclient $fs/usr/bin 
    1.60  	# set permissions
    1.61  	chmod +x $fs/usr/bin/dhclient
    1.62 -	
    1.63 +
    1.64  	# change bash to sh
    1.65  	sed -i 's/bash/sh/' $fs/usr/sbin/wicd \
    1.66  						$fs/usr/bin/wicd-client
    1.67 -	
    1.68  }
    1.69  
    1.70  # edit daemons.conf.