wok diff coccinella/receipt @ rev 14940

Up: embryo-dev (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:15:45 2013 +0200 (2013-08-08)
parents 250579210783
children 223b265f40fd
line diff
     1.1 --- a/coccinella/receipt	Fri Apr 26 16:54:00 2013 +0200
     1.2 +++ b/coccinella/receipt	Thu Aug 08 19:15:45 2013 +0200
     1.3 @@ -16,18 +16,11 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr/bin $fs/usr/share
     1.8 +	mkdir -p $fs/usr/bin $fs/usr/share/applications
     1.9  	cp -a $src $fs/usr/share/coccinella
    1.10  	rm -rf $fs/usr/share/coccinella/bin/macosx
    1.11  	rm -rf $fs/usr/share/coccinella/bin/unix/NetBSD
    1.12  	rm -rf $fs/usr/share/coccinella/bin/windows
    1.13 -	cat > $fs/usr/bin/coccinella << EOT
    1.14 -#!/bin/sh
    1.15 -
    1.16 -cd /usr/share/coccinella && {
    1.17 -	wish8.5 ./Coccinella.tcl "$@"
    1.18 -	cd -
    1.19 +	cp $stuff/coccinella $fs/usr/bin
    1.20 +	cp $stuff/coccinella.desktop $fs/usr/share/applications
    1.21  }
    1.22 -EOT
    1.23 -	chmod +x $fs/usr/bin/coccinella
    1.24 -}