updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / appkonference-8layertech / PKGBUILD
blobe279ba3e478b832f919f287e673b82dee0eeb65e
2 # Created by: Joel Bryan Juliano <jbjuliano@8layertech.com>,
3 #                                <joelbryan.juliano@gmail.com>
5 # This package is part of 8ix Zenith CE project.
6 # For more information, visit http://www.8layertech.com
8 _realpkgname=appkonference
9 pkgname=$_realpkgname-8layertech
10 pkgver=1.1
11 pkgrel=1
12 pkgdesc="App Konference is a High Performance Audio/Video Conferencing Module for Asterisk (With CPU Optimizations and G729 Support)"
13 url="http://downloads.sourceforge.net/project"
14 arch=('i686' 'x86_64')
15 license=('GPL')
16 #install=iaxmodem.install
17 depends=('asterisk16-8layertech' 'asterisk16-addons-8layertech' 'speex')
18 #backup=(etc/iaxmodem/modem.conf)
19 source=($url/$_realpkgname/$_realpkgname/$pkgver/$_realpkgname-$pkgver.tar.gz
20         appkonference-optimization-and-g729-support-8layertech.patch)
21 md5sums=('effff39c39348114aa47f778812be62f'
22          'dc85545189648c488ba33639fa7e6279')
23 build() {
25 cd $srcdir/$_realpkgname && patch -p1 < $srcdir/appkonference-optimization-and-g729-support-8layertech.patch
26 cd $srcdir/$_realpkgname/konference
27 make VIDEO=1 TEXT=1 DTMF=1
28 install -D -m 755 $srcdir/$_realpkgname/konference/app_konference.so $pkgdir/usr/lib/asterisk/modules/app_konference.so
29 mkdir -p $pkgdir/usr/share/$_realpkgname
30 cp -R $srcdir/$_realpkgname/examples $pkgdir/usr/share/$_realpkgname