wok-current view linphone/receipt @ rev 15404
Up: libdevmapper-dev (2.02.98)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sat Nov 02 21:28:52 2013 +0100 (2013-11-02) |
parents | 380ffe05937a |
children | 002d4bf6c905 |
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-svn xorg-libXv libv4l libglade gtk+ glib"
15 BUILD_DEPENDS="intltool libsdl-dev ffmpeg-svn-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 }