wok-stable rev 12292

get-skype: fix library versions in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 28 10:46:30 2012 +0200 (2012-05-28)
parents 7a2b95ecb85f
children 7ffde488779b
files get-skype/stuff/get-skype
line diff
     1.1 --- a/get-skype/stuff/get-skype	Sun May 27 21:37:24 2012 +0000
     1.2 +++ b/get-skype/stuff/get-skype	Mon May 28 10:46:30 2012 +0200
     1.3 @@ -64,8 +64,16 @@
     1.4  CATEGORY="non-free"
     1.5  SHORT_DESC="Skype Internet Telephony."
     1.6  WEB_SITE="$WEB_SITE"
     1.7 -DEPENDS="libsigc++ xorg-libXv xorg-libXss libv4l bzip2"
     1.8 +DEPENDS="libsigc++ xorg-libXv xorg-libXss libv4l bzip2 tiff"
     1.9  CONFIG_FILES="/etc/skype.conf"
    1.10 +
    1.11 +post_install()
    1.12 +{
    1.13 +	# try to fix library versions
    1.14 +	ldd /usr/bin/skype | sed '/not found/!d;s/ =>.*//' | while read lib; do
    1.15 +		[ -e /usr/lib/\${lib%.*} ] && ln -s \${lib%.*} /usr/lib/\$lib
    1.16 +	done
    1.17 +}
    1.18  EOT
    1.19  
    1.20  # Pack