wok-6.x view linphone/receipt @ rev 13845

lyx: fix for gcc 4.6
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 08 21:25:10 2013 +0100 (2013-01-08)
parents f32d3ba00836
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="linphone"
4 VERSION="3.5.2"
5 CATEGORY="network"
6 SHORT_DESC="SIP soft phone."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.linphone.org/"
10 WGET_URL="http://download-mirror.savannah.gnu.org/releases/linphone/${VERSION%.*}.x/sources/$TARBALL"
11 TAGS="softphone telephony"
13 DEPENDS="osip exosip speex ffmpeg-svn xorg-libXv libv4l libglade gtk+ glib"
14 BUILD_DEPENDS="intltool libsdl-dev ffmpeg-svn-dev osip-dev exosip-dev speex-dev \
15 xorg-libXv-dev libv4l-dev libglade-dev gtk+-dev glib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # Define deprecated ffmepg flags ...
22 CFLAGS="-DCODEC_FLAG_PART=0x0080 -DCODEC_FLAG_H263P_UMV=0x0200000 -DCODEC_FLAG_H263P_SLICE_STRUCT=0x01000000 -DFF_I_TYPE=1" \
23 LIBS="-lavutil -lz" \
24 ./configure --prefix=/usr --libexecdir=/usr/bin \
25 --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $_pkg/usr/share/applications $fs/usr/share
35 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
36 cp -a $_pkg/usr/share/sounds $fs/usr/share
37 cp -a $_pkg/usr/share/locale $fs/usr/share
38 cp -a $_pkg/usr/share/images $fs/usr/share
39 cp -a $_pkg/usr/share/linphone $fs/usr/share
40 cp -a $_pkg/usr/bin $fs/usr
41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
42 }