Skype:

Jak dostosować Slackware w tych dziedzinach.

Moderatorzy: Moderatorzy, Administratorzy

Awatar użytkownika
danielos
Użytkownik
Posty: 201
Rejestracja: 2004-05-28, 12:40
Lokalizacja: Tarnów/Wiedeń

Re: Skype:

Post autor: danielos »

Albo zrob sobie pakiet dla slackware i zainstaluj skype za pomoca installpkg.
Kiedys popelnilem takiego slackbuilda, nie idzielam zadnej gwarancji.

Kod: Zaznacz cały

# skype.SlackBuild
# Slackware build script for skype
# dowload skype change the version number and run
# sh skype.SlackBuild
# You will find ready to install package in the current directory
#!/bin/sh
CWD=`pwd`
NAME=skype
VERSION=1.0.0.20
ARCH=noarch
BUILD=1
TMP=/tmp
PKG=$TMP/package-$NAME
rm -rf $PKG
mkdir $PKG
cd /tmp
rm -rf $NAME-$VERSION
# unpack tar.bz2 or tar.gz
if [ -f $CWD/$NAME-$VERSION.tar.bz2 ];then
   tar jxvf $CWD/$NAME-$VERSION.tar.bz2
elif [ -f $CWD/$NAME-$VERSION.tar.gz ]; then
   tar zxvf $CWD/$NAME-$VERSION.tar.gz
else
   echo -e "You have to download skype from www.skype.com first"
   exit 1
fi
cd $NAME-$VERSION

mkdir -p $PKG/usr/bin || exit 1
cp skype $PKG/usr/bin || exit 1
mkdir -p $PKG/usr/share/skype || exit 1
cp -r sound lang icons $PKG/usr/share/skype/ || exit 1
chmod 644 $PKG/usr/share/skype/{sound,lang,icons}/* || exit 1
mkdir -p $PKG/usr/share/doc/skype-$VERSION || exit 1
cp README LICENSE $PKG/usr/share/doc/skype-$VERSION || exit 1
chmod 644 $PKG/usr/share/doc/skype-$VERSION/* || exit 1

mkdir -p $PKG/install || exit 1
cat $CWD/skype.slack-desc > $PKG/install/slack-desc
cd $PKG || exit 1
makepkg -l y -c n $CWD/$NAME-$VERSION-$ARCH-$BUILD.tgz || exit 1

# Clean up the extra stuff:
rm -rf $TMP/$NAME-$VERSION
rm -rf $PKG

skype.slack-desc

Kod: Zaznacz cały

# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.  Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in.  You must
# make exactly 11 lines for the formatting to be correct.  It's also
# customary to leave one space after the ':'.

     |-----handy-ruler------------------------------------------------------|
skype: skype
skype:
skype: Skype is free Internet telephony that just works.
skype: Skype is for calling other people on their computers or phones.
skype:
skype: Call ordinary phones from Skype with SkypeOut.
skype: Top up on SkypeOut credit and use the Skype programme to call
skype: ordinary phones all over the world. Not free, but pretty cheap.
skype:
skype:
skype:
danielos,
zobacz [url=http://forum.slackware.pl/viewtopic.php?p=59095]koszulki z pingwinkiem[/url]
ODPOWIEDZ