wok-stable rev 4177

Fix: leocad FSH
author Christophe Lincoln <pankso@slitaz.org>
date Tue Sep 22 22:14:06 2009 +0200 (2009-09-22)
parents 90fa5e62d1ab
children 297002031233
files leocad/receipt
line diff
     1.1 --- a/leocad/receipt	Tue Sep 22 22:05:53 2009 +0200
     1.2 +++ b/leocad/receipt	Tue Sep 22 22:14:06 2009 +0200
     1.3 @@ -19,24 +19,24 @@
     1.4  compile_rules()
     1.5  {
     1.6  	echo " ** Ignoring Extract Error **"
     1.7 -	
     1.8 -	mkdir -p $src/_pkg/usr/libexec
     1.9 +
    1.10 +	mkdir -p $src/_pkg/usr/lib/leocad
    1.11  	cp -a stuff/share $src/_pkg/usr
    1.12 -	
    1.13 +
    1.14  	cd $src
    1.15  
    1.16  	# Extract the rpm
    1.17  	rpm2cpio $SOURCES_REPOSITORY/$TARBALL | cpio -idmv
    1.18  
    1.19 -	cp -a usr/local/bin/leocad _pkg/usr/libexec
    1.20 -	
    1.21 +	cp -a usr/local/bin/leocad _pkg/usr/lib/leocad
    1.22 +
    1.23  	# Create the shell script launcher
    1.24  	mkdir -p _pkg/usr/bin
    1.25  	cat > _pkg/usr/bin/leocad << EOF
    1.26  #!/bin/sh
    1.27  
    1.28  LEOCAD_LIB=/usr/share/leocad \\
    1.29 -/usr/libexec/leocad
    1.30 +/usr/lib/leocad/leocad
    1.31  EOF
    1.32  	chmod +x _pkg/usr/bin/leocad
    1.33  }