wok annotate linphone/receipt @ rev 9208

libtaz: Use VERSION.tar.bz2 in WGET_URL instead of 1.0.4.tar.bz2.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 10 22:07:50 2011 +0000 (2011-03-10)
parents a0ef91b8d352
children 716b80ab2622
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@9006 9 BUILD_DEPENDS="osip-dev exosip-dev speex-dev gcc3"
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 }