wok rev 19049

Fix the name (lives > lives-exe), desktop file.
author Leonardo Laporte <hackdorte@sapo.pt>
date Sun Apr 17 17:33:06 2016 -0300 (2016-04-17)
parents d59452dc5ed3
children 1f3d28dd05d0
files lives/receipt
line diff
     1.1 --- a/lives/receipt	Sun Apr 17 16:30:52 2016 -0300
     1.2 +++ b/lives/receipt	Sun Apr 17 17:33:06 2016 -0300
     1.3 @@ -18,23 +18,25 @@
     1.4  #
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8 -	./configure \
     1.9 -		--prefix=/usr \
    1.10 -		--disable-jack \
    1.11 -		$CONFIGURE_ARGS &&
    1.12 -	make &&
    1.13 -	make DESTDIR=$DESTDIR install 2>&1 | \
    1.14 -	sed "s/gmo': No such file/gmo': no such file/"
    1.15 +  cd $src
    1.16 +  ./configure \
    1.17 +    --prefix=/usr \
    1.18 +    --disable-jack \
    1.19 +    $CONFIGURE_ARGS &&
    1.20 +  make &&
    1.21 +  make DESTDIR=$DESTDIR install 2>&1 | \
    1.22 +  sed "s/gmo': No such file/gmo': no such file/"
    1.23  }
    1.24  
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.29 -	cp -a $install/usr/bin $fs/usr
    1.30 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.31 -	cp -a $install/usr/lib/lives $fs/usr/lib
    1.32 -	cp -a $install/usr/share/lives $fs/usr/share
    1.33 -	find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \;
    1.34 +  mkdir -p $fs/usr/lib $fs/usr/share
    1.35 +  cp -a $install/usr/bin $fs/usr
    1.36 +  cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.37 +  cp -a $install/usr/lib/lives $fs/usr/lib
    1.38 +  cp -a $install/usr/share/lives $fs/usr/share
    1.39 +  find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \;
    1.40 +  # Fix the name (.desktop) file.
    1.41 +  sed -i 's/^Exec=.*/Exec=lives-exe/' $install/usr/share/applications/LiVES.desktop
    1.42  }