wok-6.x annotate linphone/receipt @ rev 14836
xfce4-session: remove wrong trigger (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 17 15:55:02 2013 +0200 (2013-07-17) |
parents | f32d3ba00836 |
children | 380ffe05937a |
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@13027 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13027 | 9 WEB_SITE="http://www.linphone.org/" |
pascal@13027 | 10 WGET_URL="http://download-mirror.savannah.gnu.org/releases/linphone/${VERSION%.*}.x/sources/$TARBALL" |
pascal@13027 | 11 TAGS="softphone telephony" |
pascal@13027 | 12 |
pascal@13133 | 13 DEPENDS="osip exosip speex ffmpeg-svn xorg-libXv libv4l libglade gtk+ glib" |
pascal@13133 | 14 BUILD_DEPENDS="intltool libsdl-dev ffmpeg-svn-dev osip-dev exosip-dev speex-dev \ |
pascal@10683 | 15 xorg-libXv-dev libv4l-dev libglade-dev gtk+-dev glib-dev" |
pascal@5763 | 16 |
pascal@5763 | 17 # Rules to configure and make the package. |
pascal@5763 | 18 compile_rules() |
pascal@5763 | 19 { |
pascal@5763 | 20 cd $src |
pascal@13055 | 21 # Define deprecated ffmepg flags ... |
pascal@13055 | 22 CFLAGS="-DCODEC_FLAG_PART=0x0080 -DCODEC_FLAG_H263P_UMV=0x0200000 -DCODEC_FLAG_H263P_SLICE_STRUCT=0x01000000 -DFF_I_TYPE=1" \ |
pascal@13055 | 23 LIBS="-lavutil -lz" \ |
pascal@13055 | 24 ./configure --prefix=/usr --libexecdir=/usr/bin \ |
pascal@5763 | 25 --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@5763 | 26 make && |
pascal@5763 | 27 make DESTDIR=$PWD/_pkg install |
pascal@5763 | 28 } |
pascal@5763 | 29 |
pascal@5763 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5763 | 31 genpkg_rules() |
pascal@5763 | 32 { |
pascal@5763 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@5763 | 34 cp -a $_pkg/usr/share/applications $fs/usr/share |
pascal@5763 | 35 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pascal@5763 | 36 cp -a $_pkg/usr/share/sounds $fs/usr/share |
pascal@5763 | 37 cp -a $_pkg/usr/share/locale $fs/usr/share |
pascal@5763 | 38 cp -a $_pkg/usr/share/images $fs/usr/share |
pascal@5763 | 39 cp -a $_pkg/usr/share/linphone $fs/usr/share |
pascal@5763 | 40 cp -a $_pkg/usr/bin $fs/usr |
pascal@5763 | 41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@5763 | 42 } |