wok-next view linphone/receipt @ rev 9384
Fixed tazpkg and tazwok to get the sources from mercurial through tag archives.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 26 00:07:02 2011 +0000 (2011-03-26) |
parents | 2e8f3eae1df8 |
children | c1fda2da8fb1 |
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 ffmpeg libglade gtk+ glib"
9 BUILD_DEPENDS="gcc3 intltool libsdl-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 }