wok view linphone/receipt @ rev 10698
winetricks: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 28 09:20:24 2011 +0200 (2011-05-28) |
parents | 7af699bb133c |
children | a0dfed10b17b |
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 ffmpeg-dev osip-dev exosip-dev speex-dev \
10 xorg-libXv-dev libv4l-dev libglade-dev gtk+-dev glib-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.linphone.org/"
13 WGET_URL="http://download-mirror.savannah.gnu.org/releases/linphone/${VERSION%.*}.x/sources/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 LIBS="-lavutil -lz" ./configure --prefix=/usr --libexecdir=/usr/bin \
20 --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/share
29 cp -a $_pkg/usr/share/applications $fs/usr/share
30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
31 cp -a $_pkg/usr/share/sounds $fs/usr/share
32 cp -a $_pkg/usr/share/locale $fs/usr/share
33 cp -a $_pkg/usr/share/images $fs/usr/share
34 cp -a $_pkg/usr/share/linphone $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 }