wok-stable rev 12460

fix symlinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 09:09:24 2017 +0200 (2017-04-28)
parents 4528c1908a0b
children 00a0a6f8ea52
files catfish/receipt e3/receipt erlang/receipt itaka/receipt libgee/receipt wput/receipt
line diff
     1.1 --- a/catfish/receipt	Fri Apr 28 08:19:20 2017 +0200
     1.2 +++ b/catfish/receipt	Fri Apr 28 09:09:24 2017 +0200
     1.3 @@ -30,4 +30,7 @@
     1.4  	cp -a $_pkg/usr/share/catfish $fs/usr/share
     1.5  	cp -a $_pkg/usr/share/icons $fs/usr/share
     1.6  	cp -a $_pkg/usr/share/applications $fs/usr/share
     1.7 +	rm -f $fs/usr/share/catfish/catfish.svg $fs/usr/share/catfish/locale
     1.8 +	ln -s ../icons/hicolor/scalable/apps/catfish.svg $fs/usr/share/catfish/catfish.svg
     1.9 +	ln -s ../locale $fs/usr/share/catfish/locale
    1.10  }
     2.1 --- a/e3/receipt	Fri Apr 28 08:19:20 2017 +0200
     2.2 +++ b/e3/receipt	Fri Apr 28 09:09:24 2017 +0200
     2.3 @@ -27,4 +27,8 @@
     2.4  {
     2.5  	mkdir -p $fs/usr/
     2.6  	cp -R $WOK/$PACKAGE/install/* $fs/usr/
     2.7 +	for i in $(cd $fs/usr/bin; ls e3?*); do
     2.8 +		rm -f $fs/usr/bin/$i
     2.9 +		ln -s e3 $fs/usr/bin/$i
    2.10 +	done
    2.11  }
     3.1 --- a/erlang/receipt	Fri Apr 28 08:19:20 2017 +0200
     3.2 +++ b/erlang/receipt	Fri Apr 28 09:09:24 2017 +0200
     3.3 @@ -49,4 +49,7 @@
     3.4  genpkg_rules()
     3.5  {
     3.6  	cp -a $_pkg/usr $fs
     3.7 +	for i in $(cd $fs/usr/bin; ls *); do
     3.8 +		ln -s ../lib/erlang/bin/$i $fs/usr/bin/$i
     3.9 +	done
    3.10  }
     4.1 --- a/itaka/receipt	Fri Apr 28 08:19:20 2017 +0200
     4.2 +++ b/itaka/receipt	Fri Apr 28 09:09:24 2017 +0200
     4.3 @@ -22,8 +22,8 @@
     4.4  genpkg_rules()
     4.5  {
     4.6  	mkdir -p $fs/usr/share
     4.7 -	cp -a $_pkg/usr/bin $fs/usr
     4.8  	cp -a $_pkg/usr/lib $fs/usr
     4.9  	cp -a $_pkg/usr/share/itaka $fs/usr/share
    4.10 +	ln -s  ../lib/itaka/itaka.py $fs/usr/bin/itaka
    4.11  }
    4.12  
     5.1 --- a/libgee/receipt	Fri Apr 28 08:19:20 2017 +0200
     5.2 +++ b/libgee/receipt	Fri Apr 28 09:09:24 2017 +0200
     5.3 @@ -24,5 +24,5 @@
     5.4  genpkg_rules()
     5.5  {
     5.6  	mkdir -p $fs/usr/lib
     5.7 -	cp -s $install/usr/lib/*.so* $fs/usr/lib
     5.8 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
     5.9  }
     6.1 --- a/wput/receipt	Fri Apr 28 08:19:20 2017 +0200
     6.2 +++ b/wput/receipt	Fri Apr 28 09:09:24 2017 +0200
     6.3 @@ -28,4 +28,6 @@
     6.4  {
     6.5  	mkdir -p $fs/usr
     6.6  	cp -a $_pkg/usr/bin $fs/usr
     6.7 +	rm -f $fs/usr/bin/wdel
     6.8 +	ln -s wput $fs/usr/bin/wdel
     6.9  }