wok-current diff leocad/receipt @ rev 4738

Remove: file-dev. Replaced by libmagic-dev.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 07 14:15:11 2010 +0100 (2010-01-07)
parents e3a098f25f0b
children 8fdabf52013b
line diff
     1.1 --- a/leocad/receipt	Mon Jul 20 13:40:12 2009 +0000
     1.2 +++ b/leocad/receipt	Thu Jan 07 14:15:11 2010 +0100
     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  }