wok annotate linphone/receipt @ rev 10977

Up: snort to 2.9.1.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 12 12:50:13 2011 +0000 (2011-10-12)
parents 7af699bb133c
children a0dfed10b17b
rev   line source
pascal@5763 1 # SliTaz package receipt.
pascal@5763 2
pascal@5763 3 PACKAGE="linphone"
slaxemulator@9428 4 VERSION="3.4.3"
pascal@5763 5 CATEGORY="network"
pascal@5763 6 SHORT_DESC="SIP soft phone."
pascal@5763 7 MAINTAINER="pascal.bellard@slitaz.org"
slaxemulator@9426 8 DEPENDS="osip exosip speex ffmpeg xorg-libXv libv4l libglade gtk+ glib"
pascal@10683 9 BUILD_DEPENDS="intltool libsdl-dev ffmpeg-dev osip-dev exosip-dev speex-dev \
pascal@10683 10 xorg-libXv-dev libv4l-dev libglade-dev gtk+-dev glib-dev"
pascal@5763 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@5763 12 WEB_SITE="http://www.linphone.org/"
slaxemulator@9426 13 WGET_URL="http://download-mirror.savannah.gnu.org/releases/linphone/${VERSION%.*}.x/sources/$TARBALL"
pascal@5763 14
pascal@5763 15 # Rules to configure and make the package.
pascal@5763 16 compile_rules()
pascal@5763 17 {
pascal@5763 18 cd $src
pascal@5763 19 LIBS="-lavutil -lz" ./configure --prefix=/usr --libexecdir=/usr/bin \
pascal@5763 20 --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS
pascal@5763 21 make &&
pascal@5763 22 make DESTDIR=$PWD/_pkg install
pascal@5763 23 }
pascal@5763 24
pascal@5763 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5763 26 genpkg_rules()
pascal@5763 27 {
pascal@5763 28 mkdir -p $fs/usr/lib $fs/usr/share
pascal@5763 29 cp -a $_pkg/usr/share/applications $fs/usr/share
pascal@5763 30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
pascal@5763 31 cp -a $_pkg/usr/share/sounds $fs/usr/share
pascal@5763 32 cp -a $_pkg/usr/share/locale $fs/usr/share
pascal@5763 33 cp -a $_pkg/usr/share/images $fs/usr/share
pascal@5763 34 cp -a $_pkg/usr/share/linphone $fs/usr/share
pascal@5763 35 cp -a $_pkg/usr/bin $fs/usr
pascal@5763 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@5763 37 }