wok-6.x annotate linphone/receipt @ rev 5763

Add linphone
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 05 13:05:15 2010 +0200 (2010-07-05)
parents
children a0ef91b8d352
rev   line source
pascal@5763 1 # SliTaz package receipt.
pascal@5763 2
pascal@5763 3 PACKAGE="linphone"
pascal@5763 4 VERSION="3.2.0"
pascal@5763 5 CATEGORY="network"
pascal@5763 6 SHORT_DESC="SIP soft phone."
pascal@5763 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@5763 8 DEPENDS="osip exosip speex"
pascal@5763 9 BUILD_DEPENDS="osip-dev exosip-dev speex-dev"
pascal@5763 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@5763 11 WEB_SITE="http://www.linphone.org/"
pascal@5763 12 WGET_URL="http://www.very-clever.com/download/nongnu/linphone/${VERSION%.*}.x/sources/$TARBALL"
pascal@5763 13
pascal@5763 14 # Rules to configure and make the package.
pascal@5763 15 compile_rules()
pascal@5763 16 {
pascal@5763 17 cd $src
pascal@5763 18 LIBS="-lavutil -lz" ./configure --prefix=/usr --libexecdir=/usr/bin \
pascal@5763 19 --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS
pascal@5763 20 make &&
pascal@5763 21 make DESTDIR=$PWD/_pkg install
pascal@5763 22 }
pascal@5763 23
pascal@5763 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5763 25 genpkg_rules()
pascal@5763 26 {
pascal@5763 27 mkdir -p $fs/usr/lib $fs/usr/share
pascal@5763 28 cp -a $_pkg/usr/share/applications $fs/usr/share
pascal@5763 29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
pascal@5763 30 cp -a $_pkg/usr/share/sounds $fs/usr/share
pascal@5763 31 cp -a $_pkg/usr/share/locale $fs/usr/share
pascal@5763 32 cp -a $_pkg/usr/share/images $fs/usr/share
pascal@5763 33 cp -a $_pkg/usr/share/linphone $fs/usr/share
pascal@5763 34 cp -a $_pkg/usr/bin $fs/usr
pascal@5763 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@5763 36 }