wok annotate linphone/receipt @ rev 15146
cocoalib: create Makefile_dependencies (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 12:56:59 2013 +0000 (2013-08-15) |
parents | f378e2bb1fb7 |
children | be185b2561ff |
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@15000 | 28 make DESTDIR=$DESTDIR install |
pascal@5763 | 29 } |
pascal@5763 | 30 |
pascal@5763 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5763 | 32 genpkg_rules() |
pascal@5763 | 33 { |
pascal@5763 | 34 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15000 | 35 cp -a $install/usr/share/applications $fs/usr/share |
pascal@15000 | 36 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@15000 | 37 cp -a $install/usr/share/sounds $fs/usr/share |
pascal@15000 | 38 cp -a $install/usr/share/locale $fs/usr/share |
pascal@15000 | 39 cp -a $install/usr/share/images $fs/usr/share |
pascal@15000 | 40 cp -a $install/usr/share/linphone $fs/usr/share |
pascal@15000 | 41 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@5763 | 43 } |