wok view linphone/receipt @ rev 13064

mariadb: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 22 12:51:57 2012 +0200 (2012-06-22)
parents d71ba04aa9f5
children f378e2bb1fb7
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 xorg-libXv libv4l libglade gtk+ glib"
14 BUILD_DEPENDS="intltool libsdl-dev ffmpeg-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 }