updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / yate / PKGBUILD
blobc63afd5283a73eb6e674dd9ffbb3c9992ec62088
1     # Maintainer: said
2     # Contributor: Yejun Yang <yejunx AT gmail DOT com>
3     # Contributor: Biru Ionut <ionut@archlinux.ro>
4     pkgname=yate
5     pkgver=3.3.2
6     pkgrel=1
7     pkgdesc="next-generation telephony engine"
8     arch=('i686' 'x86_64')
9     url="http://yate.null.ro"
10     license=('GPL')
11     depends=('speex' 'gsm' 'postgresql-libs' 'libmysqlclient' \
12              'alsa-lib')
13     makedepends=('pkgconfig')
14     source=(http://yate.null.ro/tarballs/yate3/${pkgname}-${pkgver}-1.tar.gz yate.init)
15     options=(!makeflags)
16      
17     build() {
18       cd $srcdir/${pkgname}
19       export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
20       ./configure --prefix=/usr \
21                   --sysconfdir=/etc \
22                   --with-libpq \
23                   --with-mysql \
24                   --without-openh323
25      
26       make || return 1
27       make DESTDIR=$pkgdir install
28       install -D -m755 $srcdir/yate.init $pkgdir/etc/rc.d/yate || return 1
29     }
30      
31     md5sums=('c0738aa13a2145f7ca76d0dad086697f'
32              'c0d344607046c47c1d75ac23d323817a')