wok-current view linphone/receipt @ rev 15060
dahdi-tools: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:47:54 2013 +0000 (2013-08-13) |
parents | f378e2bb1fb7 |
children | be185b2561ff |
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
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $install/usr/share/applications $fs/usr/share
36 cp -a $install/usr/share/pixmaps $fs/usr/share
37 cp -a $install/usr/share/sounds $fs/usr/share
38 cp -a $install/usr/share/locale $fs/usr/share
39 cp -a $install/usr/share/images $fs/usr/share
40 cp -a $install/usr/share/linphone $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }