2015-07-03 17:59:10 +08:00
|
|
|
# Arch contribution https://www.archlinux.org/packages/community/x86_64/bzrtp/
|
|
|
|
|
|
|
|
pkgname=bzrtp
|
2015-12-22 19:48:25 +08:00
|
|
|
pkgver=1.0.3
|
2016-01-06 00:57:42 +08:00
|
|
|
pkgrel=2
|
2015-07-03 17:59:10 +08:00
|
|
|
pkgdesc="Opensource implementation of ZRTP keys exchange protocol"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="http://www.linphone.org/"
|
|
|
|
license=('GPL2')
|
|
|
|
depends=('libxml2' 'mbedtls')
|
2015-12-22 19:48:25 +08:00
|
|
|
source=("https://github.com/BelledonneCommunications/bzrtp/archive/${pkgver}.tar.gz"
|
|
|
|
"mbedtls2.patch")
|
|
|
|
sha256sums=('6c7894749102cea45186481b114119baf63a45c9c998cf227ef014a3b960463c'
|
|
|
|
'a0859bae57be402dfc497b22d096fcbd3a615de2b13e736eacd3204f6477b7ec')
|
2015-07-03 17:59:10 +08:00
|
|
|
|
2015-12-22 19:48:25 +08:00
|
|
|
prepare(){
|
2015-07-03 17:59:10 +08:00
|
|
|
cd ${pkgname}-${pkgver}
|
2015-12-22 19:48:25 +08:00
|
|
|
patch -p1 <$srcdir/mbedtls2.patch
|
|
|
|
}
|
2015-07-03 17:59:10 +08:00
|
|
|
|
2015-12-22 19:48:25 +08:00
|
|
|
build() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
./autogen.sh
|
2015-07-03 17:59:10 +08:00
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|