From 3f0fc54ac4bd2fd67b9a7b4545b5f70fe01e734b Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Sun, 6 Nov 2016 01:13:51 -0400 Subject: [PATCH] Add yate --- src/yate/.SRCINFO | 19 +++++++++++++++++++ src/yate/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 src/yate/.SRCINFO create mode 100644 src/yate/PKGBUILD diff --git a/src/yate/.SRCINFO b/src/yate/.SRCINFO new file mode 100644 index 0000000..e791576 --- /dev/null +++ b/src/yate/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = yate + pkgdesc = Next-generation telephony engine + pkgver = 5.5.0 + pkgrel = 1 + url = http://yate.null.ro + arch = i686 + arch = x86_64 + license = GPL + depends = speex + depends = gsm + depends = postgresql-libs + depends = libmysqlclient + depends = alsa-lib + options = !makeflags + source = http://yate.null.ro/tarballs/yate5/yate-5.5.0-1.tar.gz + sha256sums = a9fc472df082e92d578efa3de54689e10ee1a24fdd67a9cc928db7c2e1568676 + +pkgname = yate + diff --git a/src/yate/PKGBUILD b/src/yate/PKGBUILD new file mode 100644 index 0000000..8a98ae8 --- /dev/null +++ b/src/yate/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Yuval Adam PGP-Key: 271386AA2EB7672F +# Contributor: Yejun Yang +# Contributor: Biru Ionut + +pkgname=yate +pkgver=5.5.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') +source=("http://yate.null.ro/tarballs/yate5/yate-${pkgver}-1.tar.gz") +options=(!makeflags) +sha256sums=('a9fc472df082e92d578efa3de54689e10ee1a24fdd67a9cc928db7c2e1568676') + +build() { + cd $srcdir/${pkgname} + export LDFLAGS="${LDFLAGS//-Wl,--as-needed}" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-libpq \ + --with-mysql \ + --without-libqt4 \ + --without-openh323 + make +} + +package(){ + cd $srcdir/${pkgname} + make DESTDIR=$pkgdir install + install -D -m644 "${srcdir}/${pkgname}/packing/rpm/yate.service" "${pkgdir}/usr/lib/systemd/system/yate.service" +} + +# vim:set ts=2 sw=2 et: