wok-current diff lives/receipt @ rev 20313

linux, openssh: add tcp_stealth patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 18 13:47:33 2018 +0200 (2018-05-18)
parents 843a4df9e36a
children 6f52735cb8a2
line diff
     1.1 --- a/lives/receipt	Sun Apr 17 17:33:06 2016 -0300
     1.2 +++ b/lives/receipt	Fri May 18 13:47:33 2018 +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  }