wok view linphone/receipt @ rev 9907
slitaz-icon: fix sed (must be befor cd to find file) and avois error with latlito/tazpkg --root=
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 17 15:18:51 2011 +0200 (2011-05-17) |
parents | c1fda2da8fb1 |
children | 7e7204152cf9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="linphone"
4 VERSION="3.4.3"
5 CATEGORY="network"
6 SHORT_DESC="SIP soft phone."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="osip exosip speex ffmpeg xorg-libXv libv4l libglade gtk+ glib"
9 BUILD_DEPENDS="intltool libsdl-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.linphone.org/"
12 WGET_URL="http://download-mirror.savannah.gnu.org/releases/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 }