updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / simu / PKGBUILD
blobb8c337f7026752403ee061e1d36d14319c4409a2
1 # Contributor: Aleshus <podskale@fel.cvut.cz>
3 pkgname=simu
4 pkgver=20110705
5 pkgrel=1
6 pkgdesc="Simu server project is aimed for IP telephony (VoIP) between classical SIP phones and Flash streaming applications."
7 url="http://semsung.felk.cvut.cz/dokuwiki/doku.php"
8 license="GPLv3"
9 arch=('i686' 'x86_64')
10 depends=('boost' 'pjproject' 'libconfig' 'util-linux')
11 make_depends=('cmake' 'make')
12 source=(simu.rc.d)
13 md5sums=("7db086e5d1fe612ea112580b970e4929")
16 _gitroot="git://simuserver.git.sourceforge.net/gitroot/simuserver/simuserver"
17 _gitname="git_git"
19 build() {
20     msg "Checking repository version"
21         cd $srcdir
22         if [[ -d $_gitname ]]; then
23           (cd $_gitname && git pull origin)
24         else
25           echo ok
26           git clone $_gitroot $_gitname
27         fi
28         cd $_gitname/Simu
31     cmake CMakeLists.txt
32         make all
33         make DESTDIR=$pkgdir PREFIX="" install
34         install -D -m755 $startdir/simu.rc.d $pkgdir/etc/rc.d/simu