1 # Maintainer: Xavier Devlamynck <magicrhesus@ouranos.be>
2 # Contributor: Aleshus <podskale@fel.cvut.cz>
7 pkgdesc="Free, high performance, extensible media and application server for SIP (RFC3261) based VoIP services."
8 url="http://iptel.org/sems"
10 arch=('i686' 'x86_64')
11 depends=('speex' 'bash' 'python')
20 source=(http://ftp.iptel.org/pub/sems/sems-$pkgver.tar.gz rc.d-sems patch-Makefile.defs.patch patch-python2.patch)
21 md5sums=('686ab348e06d8cac7c52080c8b056487'
22 '01cbd7bc12dd94b35ef9f723156f4105'
23 'dbf2ffd36d0527a8eb24bd4f82736972'
24 '47dc4e26f3370b52edf494b7c37b293a')
26 cd ${srcdir}/$pkgname-$pkgver
29 patch Makefile.defs ${srcdir}/patch-Makefile.defs.patch
30 patch -Np1 -i "${srcdir}/patch-python2.patch"
36 make DESTDIR=${pkgdir} PREFIX="" install
37 rm -rf ${pkgdir}/share
39 install -D -m755 ${srcdir}/rc.d-sems ${pkgdir}/etc/rc.d/sems
40 mv -b ${pkgdir}/lib/sems/ivr ${pkgdir}/usr/lib/sems/
44 # vim:set ts=2 sw=2 et: