wok-next view linphone/receipt @ rev 16630

ARM: add setserial
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 11 11:24:26 2014 +0200 (2014-05-11)
parents be185b2561ff
children 06eca9e5596d
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.linphone.org/"
11 WGET_URL="http://download-mirror.savannah.gnu.org/releases/linphone/${VERSION%.*}.x/sources/$TARBALL"
12 TAGS="softphone telephony"
14 DEPENDS="osip exosip speex ffmpeg xorg-libXv libv4l libglade gtk+ glib"
15 BUILD_DEPENDS="intltool libsdl-dev ffmpeg-dev osip-dev exosip-dev speex-dev \
16 xorg-libXv-dev libv4l-dev libglade-dev gtk+-dev glib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 # Define deprecated ffmepg flags ...
23 CFLAGS="-DCODEC_FLAG_PART=0x0080 -DCODEC_FLAG_H263P_UMV=0x0200000 -DCODEC_FLAG_H263P_SLICE_STRUCT=0x01000000 -DFF_I_TYPE=1" \
24 LIBS="-lavutil -lz" \
25 ./configure --prefix=/usr --libexecdir=/usr/bin \
26 --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS
27 make &&
28 make DESTDIR=$DESTDIR install 2>&1 | sed \
29 -e "s/css': No such file/css': no such file/" \
30 -e "s/html': No such file/html': no such file/"
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $install/usr/share/applications $fs/usr/share
38 cp -a $install/usr/share/pixmaps $fs/usr/share
39 cp -a $install/usr/share/sounds $fs/usr/share
40 cp -a $install/usr/share/locale $fs/usr/share
41 cp -a $install/usr/share/images $fs/usr/share
42 cp -a $install/usr/share/linphone $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }