2011-11-05 18:35:04 +08:00
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Daniele Cocca <jmc@chakra-project.org>
#
# include global config
source ../_buildscripts/${ current_repo } -${ _arch } -cfg.conf
pkgname = python-sipsimple
2012-01-08 06:34:49 +08:00
pkgver = 20120107
pkgrel = 1
2011-11-05 18:35:04 +08:00
pkgdesc = "SIP SIMPLE Client SDK is a Software Development Kit for easy development of SIP end-points that support rich media like Audio, Instant Messaging, File Transfers, Desktop Sharing and Presence."
arch = ( 'i686' 'x86_64' )
license = ( 'LGPL' )
2011-11-06 09:45:22 +08:00
depends = ( 'python2' 'openssl' 'gnutls>=2.4.1' 'libxml2>=2.6.32' 'libxslt>=1.1.24' 'python-gnutls>=1.1.9' 'python-application>=1.2.5' 'python-lxml>=2.1.2' 'python-eventlet>=0.8.11' 'python-backports>=1.0.0' 'python-cjson>=1.0.5' 'python-cython>=0.12.1' 'python-dnspython>=1.6.0' 'twisted>=8.1.0' 'zope-interface>=3.3.1' 'python-imaging>=1.1.6' 'python-dateutil>=1.4' 'python-msrplib' 'python-xcaplib' )
2011-11-05 18:35:04 +08:00
makedepends = ( 'setuptools>=0.6c9' 'subversion' 'darcs' )
optdepends = ( 'python-sipclients: command line programs to test the SIP SIMPLE Client library' )
url = "http://sipsimpleclient.com/"
_darcstrunk = "http://devel.ag-projects.com/repositories"
_darcsmod = "python-sipsimple"
build( ) {
msg "Starting Darcs pull..."
cd " ${ srcdir } "
if [ -d " ${ _darcsmod } /_darcs " ] ; then
( cd " ${ _darcsmod } " && darcs pull -a)
else
darcs get " ${ _darcstrunk } / ${ _darcsmod } " " ${ _darcsmod } "
fi
msg "Darcs pull done (or server timeout)."
cd " ${ srcdir } / ${ _darcsmod } "
MAKEFLAGS = -j1 python2 setup.py build_ext --pjsip-clean-compile --pjsip-disable-assertions
}
package( ) {
cd " ${ srcdir } / ${ _darcsmod } "
python2 setup.py install --prefix= /usr --root= " ${ pkgdir } "
}
# vim:set ts=2 sw=2 et: