wok-next rev 5763
Add linphone
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 05 13:05:15 2010 +0200 (2010-07-05) |
parents | 3504575b1eac |
children | 1250ffa16505 |
files | linphone-dev/receipt linphone/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/linphone-dev/receipt Mon Jul 05 13:05:15 2010 +0200 1.3 @@ -0,0 +1,18 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="linphone-dev" 1.7 +VERSION="3.2.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="SIP soft phone development files." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://www.linphone.org/" 1.12 +WANTED="linphone" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/lib 1.18 + cp -a $_pkg/usr/include $fs/usr 1.19 + cp -a $_pkg/usr/lib/*a $fs/usr/lib 1.20 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.21 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/linphone/receipt Mon Jul 05 13:05:15 2010 +0200 2.3 @@ -0,0 +1,36 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="linphone" 2.7 +VERSION="3.2.0" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="SIP soft phone." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +DEPENDS="osip exosip speex" 2.12 +BUILD_DEPENDS="osip-dev exosip-dev speex-dev" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WEB_SITE="http://www.linphone.org/" 2.15 +WGET_URL="http://www.very-clever.com/download/nongnu/linphone/${VERSION%.*}.x/sources/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + LIBS="-lavutil -lz" ./configure --prefix=/usr --libexecdir=/usr/bin \ 2.22 + --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS 2.23 + make && 2.24 + make DESTDIR=$PWD/_pkg install 2.25 +} 2.26 + 2.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.28 +genpkg_rules() 2.29 +{ 2.30 + mkdir -p $fs/usr/lib $fs/usr/share 2.31 + cp -a $_pkg/usr/share/applications $fs/usr/share 2.32 + cp -a $_pkg/usr/share/pixmaps $fs/usr/share 2.33 + cp -a $_pkg/usr/share/sounds $fs/usr/share 2.34 + cp -a $_pkg/usr/share/locale $fs/usr/share 2.35 + cp -a $_pkg/usr/share/images $fs/usr/share 2.36 + cp -a $_pkg/usr/share/linphone $fs/usr/share 2.37 + cp -a $_pkg/usr/bin $fs/usr 2.38 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.39 +}