updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / sems / PKGBUILD
blob06d81fbcd9d55700ba338eceadc260e3c8339601
1 # Maintainer: Xavier Devlamynck <magicrhesus@ouranos.be>
2 # Contributor: Aleshus <podskale@fel.cvut.cz>
4 pkgname=sems
5 pkgver=1.4.1
6 pkgrel=1
7 pkgdesc="Free, high performance, extensible media and application server for SIP (RFC3261) based VoIP services."
8 url="http://iptel.org/sems"
9 license=(GPLv2+)
10 arch=('i686' 'x86_64')
11 depends=('speex' 'bash' 'python')
12 makedepends=()
13 optdepends=()
14 provides=()
15 conflicts=()
16 replaces=()
17 backup=()
18 options=()
19 intall=()
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')
25 build() {
26         cd ${srcdir}/$pkgname-$pkgver
28         msg "Patching..."
29         patch Makefile.defs ${srcdir}/patch-Makefile.defs.patch
30   patch -Np1 -i "${srcdir}/patch-python2.patch"
31   
32         msg "Building..."
33         make all
35         msg "Installing..."
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/
41         rm -rf ${pkgdir}/lib
44 # vim:set ts=2 sw=2 et: