summaryrefslogtreecommitdiff
path: root/pcr/yate/PKGBUILD
diff options
context:
space:
mode:
authorShackra Sislock <none@none>2012-08-05 12:42:12 -0600
committerShackra Sislock <none@none>2012-08-05 12:42:12 -0600
commit5d9bdbea7dba62f2382a396206e98a865af97dd9 (patch)
tree41369af8a5dc97b5fe8821ae659dc6f4718708dc /pcr/yate/PKGBUILD
parent08bdaeb91515babbff9e919d3e5aed162cbc214e (diff)
downloadabslibre-5d9bdbea7dba62f2382a396206e98a865af97dd9.tar.gz
abslibre-5d9bdbea7dba62f2382a396206e98a865af97dd9.tar.bz2
abslibre-5d9bdbea7dba62f2382a396206e98a865af97dd9.zip
adding: yate and pysfml2-git
Diffstat (limited to 'pcr/yate/PKGBUILD')
-rw-r--r--pcr/yate/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/pcr/yate/PKGBUILD b/pcr/yate/PKGBUILD
new file mode 100644
index 000000000..01428fa27
--- /dev/null
+++ b/pcr/yate/PKGBUILD
@@ -0,0 +1,36 @@
+ # Maintainer: said
+ # Contributor: Yejun Yang <yejunx AT gmail DOT com>
+ # Contributor: Biru Ionut <ionut@archlinux.ro>
+ pkgname=yate
+ pkgver=4.1.0
+ pkgrel=1
+ pkgdesc="next-generation telephony engine"
+ arch=('i686' 'x86_64')
+ url="http://yate.null.ro"
+ license=('GPL')
+ depends=('speex' 'gsm' 'postgresql-libs' 'libmysqlclient' \
+ 'alsa-lib')
+ makedepends=('pkgconfig')
+ source=(http://yate.null.ro/tarballs/yate4/${pkgname}-${pkgver}-1.tar.gz yate.init)
+ options=(!makeflags)
+
+ md5sums=('06adaa9b8dc4f18908b35e9659ab9ad5'
+ 'c0d344607046c47c1d75ac23d323817a')
+
+ build() {
+ cd $srcdir/${pkgname}
+ export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-libpq \
+ --with-mysql \
+ --without-openh323
+ make
+ }
+
+ package(){
+ cd $srcdir/${pkgname}
+ make DESTDIR=$pkgdir install
+ install -D -m755 $srcdir/yate.init $pkgdir/etc/rc.d/yate
+ }
+ \ No newline at end of file