wok-next rev 19707

lives: fix symlink (thanks I-Jurij)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 08:21:13 2017 +0200 (2017-04-28)
parents 8cf349cc0a47
children ded7bc956f55
files lives/receipt
line diff
     1.1 --- a/lives/receipt	Thu Apr 27 13:48:01 2017 +0200
     1.2 +++ b/lives/receipt	Fri Apr 28 08:21:13 2017 +0200
     1.3 @@ -18,25 +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 +	sed -i 's|\$(LN_S) \$(DESTDIR)\$(bindir)/lives-exe|$(LN_S) lives-exe|' Makefile*
    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 -  # Fix the name (.desktop) file.
    1.35 -  sed -i 's/^Exec=.*/Exec=lives-exe/' $install/usr/share/applications/LiVES.desktop
    1.36 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.37 +	cp -a $install/usr/bin $fs/usr
    1.38 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.39 +	cp -a $install/usr/lib/lives $fs/usr/lib
    1.40 +	cp -a $install/usr/share/lives $fs/usr/share
    1.41 +	find $fs/usr/lib/lives -name "*.la" -exec rm '{}' \;
    1.42 +	# Fix the name (.desktop) file.
    1.43 +	sed -i 's/^Exec=.*/Exec=lives-exe/' $install/usr/share/applications/LiVES.desktop
    1.44  }