mirror of
https://github.com/moparisthebest/arch-ppa
synced 2024-11-21 08:15:01 -05:00
Add yate
This commit is contained in:
parent
48040645c9
commit
3f0fc54ac4
19
src/yate/.SRCINFO
Normal file
19
src/yate/.SRCINFO
Normal file
@ -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
|
||||
|
35
src/yate/PKGBUILD
Normal file
35
src/yate/PKGBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F
|
||||
# Contributor: Yejun Yang <yejunx AT gmail DOT com>
|
||||
# Contributor: Biru Ionut <ionut@archlinux.ro>
|
||||
|
||||
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:
|
Loading…
Reference in New Issue
Block a user