wok-next annotate linphone/receipt @ rev 15518

Up: thunderbird-langpack-pl (17.0.10esr)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 19 22:24:27 2013 +0100 (2013-11-19)
parents 380ffe05937a
children 002d4bf6c905
rev   line source
pascal@5763 1 # SliTaz package receipt.
pascal@5763 2
pascal@5763 3 PACKAGE="linphone"
pascal@12665 4 VERSION="3.5.2"
pascal@5763 5 CATEGORY="network"
pascal@5763 6 SHORT_DESC="SIP soft phone."
pascal@5763 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@13027 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13027 10 WEB_SITE="http://www.linphone.org/"
pascal@13027 11 WGET_URL="http://download-mirror.savannah.gnu.org/releases/linphone/${VERSION%.*}.x/sources/$TARBALL"
pascal@13027 12 TAGS="softphone telephony"
pascal@13027 13
pascal@13133 14 DEPENDS="osip exosip speex ffmpeg-svn xorg-libXv libv4l libglade gtk+ glib"
pascal@13133 15 BUILD_DEPENDS="intltool libsdl-dev ffmpeg-svn-dev osip-dev exosip-dev speex-dev \
pascal@10683 16 xorg-libXv-dev libv4l-dev libglade-dev gtk+-dev glib-dev"
pascal@5763 17
pascal@5763 18 # Rules to configure and make the package.
pascal@5763 19 compile_rules()
pascal@5763 20 {
pascal@5763 21 cd $src
pascal@13055 22 # Define deprecated ffmepg flags ...
pascal@13055 23 CFLAGS="-DCODEC_FLAG_PART=0x0080 -DCODEC_FLAG_H263P_UMV=0x0200000 -DCODEC_FLAG_H263P_SLICE_STRUCT=0x01000000 -DFF_I_TYPE=1" \
pascal@13055 24 LIBS="-lavutil -lz" \
pascal@13055 25 ./configure --prefix=/usr --libexecdir=/usr/bin \
pascal@5763 26 --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS
pascal@5763 27 make &&
pascal@15311 28 make DESTDIR=$DESTDIR install 2>&1 | sed \
pascal@15311 29 -e "s/css': No such file/css': no such file/" \
pascal@15311 30 -e "s/html': No such file/html': no such file/"
pascal@5763 31 }
pascal@5763 32
pascal@5763 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5763 34 genpkg_rules()
pascal@5763 35 {
pascal@5763 36 mkdir -p $fs/usr/lib $fs/usr/share
pascal@15000 37 cp -a $install/usr/share/applications $fs/usr/share
pascal@15000 38 cp -a $install/usr/share/pixmaps $fs/usr/share
pascal@15000 39 cp -a $install/usr/share/sounds $fs/usr/share
pascal@15000 40 cp -a $install/usr/share/locale $fs/usr/share
pascal@15000 41 cp -a $install/usr/share/images $fs/usr/share
pascal@15000 42 cp -a $install/usr/share/linphone $fs/usr/share
pascal@15000 43 cp -a $install/usr/bin $fs/usr
pascal@15000 44 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@5763 45 }