wok view linphone/receipt @ rev 8615

Fix: replace exit 1 by return 1 in receipts (exit broke cook-list function)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 19:09:46 2011 +0100 (2011-02-14)
parents
children a0ef91b8d352
line source
1 # SliTaz package receipt.
3 PACKAGE="linphone"
4 VERSION="3.2.0"
5 CATEGORY="network"
6 SHORT_DESC="SIP soft phone."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="osip exosip speex"
9 BUILD_DEPENDS="osip-dev exosip-dev speex-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.linphone.org/"
12 WGET_URL="http://www.very-clever.com/download/nongnu/linphone/${VERSION%.*}.x/sources/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 LIBS="-lavutil -lz" ./configure --prefix=/usr --libexecdir=/usr/bin \
19 --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/usr/share
28 cp -a $_pkg/usr/share/applications $fs/usr/share
29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
30 cp -a $_pkg/usr/share/sounds $fs/usr/share
31 cp -a $_pkg/usr/share/locale $fs/usr/share
32 cp -a $_pkg/usr/share/images $fs/usr/share
33 cp -a $_pkg/usr/share/linphone $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 }