wok-next annotate linphone/receipt @ rev 9536
Up: tazpkg (4.6.1) - Bug fix
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 08 18:42:01 2011 +0200 (2011-04-08) |
parents | c1fda2da8fb1 |
children | 7e7204152cf9 |
rev | line source |
---|---|
pascal@5763 | 1 # SliTaz package receipt. |
pascal@5763 | 2 |
pascal@5763 | 3 PACKAGE="linphone" |
slaxemulator@9428 | 4 VERSION="3.4.3" |
pascal@5763 | 5 CATEGORY="network" |
pascal@5763 | 6 SHORT_DESC="SIP soft phone." |
pascal@5763 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
slaxemulator@9426 | 8 DEPENDS="osip exosip speex ffmpeg xorg-libXv libv4l libglade gtk+ glib" |
slaxemulator@9426 | 9 BUILD_DEPENDS="intltool libsdl-dev" |
pascal@5763 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@5763 | 11 WEB_SITE="http://www.linphone.org/" |
slaxemulator@9426 | 12 WGET_URL="http://download-mirror.savannah.gnu.org/releases/linphone/${VERSION%.*}.x/sources/$TARBALL" |
pascal@5763 | 13 |
pascal@5763 | 14 # Rules to configure and make the package. |
pascal@5763 | 15 compile_rules() |
pascal@5763 | 16 { |
pascal@5763 | 17 cd $src |
pascal@5763 | 18 LIBS="-lavutil -lz" ./configure --prefix=/usr --libexecdir=/usr/bin \ |
pascal@5763 | 19 --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@5763 | 20 make && |
pascal@5763 | 21 make DESTDIR=$PWD/_pkg install |
pascal@5763 | 22 } |
pascal@5763 | 23 |
pascal@5763 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5763 | 25 genpkg_rules() |
pascal@5763 | 26 { |
pascal@5763 | 27 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@5763 | 28 cp -a $_pkg/usr/share/applications $fs/usr/share |
pascal@5763 | 29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pascal@5763 | 30 cp -a $_pkg/usr/share/sounds $fs/usr/share |
pascal@5763 | 31 cp -a $_pkg/usr/share/locale $fs/usr/share |
pascal@5763 | 32 cp -a $_pkg/usr/share/images $fs/usr/share |
pascal@5763 | 33 cp -a $_pkg/usr/share/linphone $fs/usr/share |
pascal@5763 | 34 cp -a $_pkg/usr/bin $fs/usr |
pascal@5763 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@5763 | 36 } |