wok rev 13673

get-skype: new tarball,depends
author Richard Dunbar <mojo@slitaz.org>
date Sun Nov 25 03:41:58 2012 +0000 (2012-11-25)
parents 773fc7517d59
children e2f1d5ecf6ec
files get-skype/stuff/get-skype
line diff
     1.1 --- a/get-skype/stuff/get-skype	Sat Nov 24 21:10:34 2012 +0100
     1.2 +++ b/get-skype/stuff/get-skype	Sun Nov 25 03:41:58 2012 +0000
     1.3 @@ -22,7 +22,7 @@
     1.4  
     1.5  # Download tarball
     1.6  WEB_SITE="http://www.skype.com/"
     1.7 -TARBALL="getskype-linux-beta-static"
     1.8 +TARBALL="getskype-linux-beta-dynamic"
     1.9  wget ${WEB_SITE}go/$TARBALL
    1.10  if [ ! -f $TARBALL ]; then
    1.11  	echo "Could not download $TARBALL. Exiting."
    1.12 @@ -32,14 +32,14 @@
    1.13  # Extract
    1.14  TARBALL=$(ls $TARBALL skype*.tar.bz2 2> /dev/null || true)
    1.15  tar xjf $TARBALL
    1.16 -VERSION=$(ls -d skype_static*-*/)
    1.17 +VERSION=$(ls -d skype-*)
    1.18  VERSION=${VERSION%/}
    1.19 -VERSION=${VERSION#skype_static*-}
    1.20 +VERSION=${VERSION#skype-*}
    1.21  
    1.22  # extracted pkg can be removed: Save RAM
    1.23  rm -f $TARBALL
    1.24  
    1.25 -cd skype_static*-$VERSION
    1.26 +cd skype-$VERSION
    1.27  
    1.28  # Install files
    1.29  mkdir -p skype-$VERSION/fs/usr/share/skype skype-$VERSION/fs/usr/bin
    1.30 @@ -64,7 +64,7 @@
    1.31  CATEGORY="non-free"
    1.32  SHORT_DESC="Skype Internet Telephony."
    1.33  WEB_SITE="$WEB_SITE"
    1.34 -DEPENDS="libsigc++ xorg-libXv xorg-libXss libv4l bzip2 tiff"
    1.35 +DEPENDS="libsigc++ xorg-libXv xorg-libXss libv4l bzip2 tiff qt4-phonon"
    1.36  CONFIG_FILES="/etc/skype.conf"
    1.37  
    1.38  post_install()