wok-stable view linphone/receipt @ rev 7931
Up: slitaz-tools (4.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jan 11 13:40:16 2011 +0100 (2011-01-11) |
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 }