wok-next diff linphone/receipt @ rev 8407
Up: desktop-file-utils to 0.18.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 05 15:27:24 2011 +0000 (2011-02-05) |
parents | |
children | a0ef91b8d352 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/linphone/receipt Sat Feb 05 15:27:24 2011 +0000 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="linphone" 1.7 +VERSION="3.2.0" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="SIP soft phone." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +DEPENDS="osip exosip speex" 1.12 +BUILD_DEPENDS="osip-dev exosip-dev speex-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.linphone.org/" 1.15 +WGET_URL="http://www.very-clever.com/download/nongnu/linphone/${VERSION%.*}.x/sources/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + LIBS="-lavutil -lz" ./configure --prefix=/usr --libexecdir=/usr/bin \ 1.22 + --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS 1.23 + make && 1.24 + make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/lib $fs/usr/share 1.31 + cp -a $_pkg/usr/share/applications $fs/usr/share 1.32 + cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.33 + cp -a $_pkg/usr/share/sounds $fs/usr/share 1.34 + cp -a $_pkg/usr/share/locale $fs/usr/share 1.35 + cp -a $_pkg/usr/share/images $fs/usr/share 1.36 + cp -a $_pkg/usr/share/linphone $fs/usr/share 1.37 + cp -a $_pkg/usr/bin $fs/usr 1.38 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.39 +}