wok diff coccinella/receipt @ rev 14761

linux: add boot subroot support (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 19 11:56:55 2013 +0200 (2013-06-19)
parents 250579210783
children 223b265f40fd
line diff
     1.1 --- a/coccinella/receipt	Fri Apr 26 16:54:00 2013 +0200
     1.2 +++ b/coccinella/receipt	Wed Jun 19 11:56:55 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 -}