updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / h323plus-svn / PKGBUILD
blobf0ada773e95b99d59284db26b0d11712ecd40590
1 # Maintainer: Dylan Ferris <dylan.ferris@gmail.com>
3 pkgname=h323plus-svn
4 pkgver=20100311
5 pkgrel=1
6 pkgdesc="H.323 is the leading protocol for videoconferencing, with virtually every videoconferencing solution in the world using H.323 in order to establish voice and video communications."
7 arch=('i686' 'x86_64')
8 url="http://www.h323plus.org/"
9 license=('MPL')
10 depends=('ptlib>=2.8')
11 #source=(http://www.h323plus.org/source/download/$pkgname-v$pkgver.tar.gz)
12 #md5sums=('370532e5754a092c9755930c4f1f6f61') #generate with 'makepkg -g'
13 makedepends=('cvs')
14 source=()
15 md5sums=()
17 _cvsmod=${pkgname%-*}
18 _cvsroot=":pserver:anonymous@h323plus.cvs.sourceforge.net:/cvsroot/${_cvsmod}"
20 build() {
21     cd $startdir/src
22     msg "Connecting to h323plus.cvs.sourceforge.net CVS server...."
23     cvs -z3 -d $_cvsroot co -D $pkgver -P $_cvsmod
24     msg "CVS checkout done or server timeout"
25     msg "Starting make..."
26     cd ./$_cvsmod
27         
28     ./configure --prefix=/usr PTLIBDIR=/usr/share/ptlib
29     make || return 1
30     make DESTDIR=$pkgdir install || return 1