2015-07-03 17:59:10 +08:00
|
|
|
# Arch contribution https://www.archlinux.org/packages/community/x86_64/bzrtp/
|
|
|
|
|
|
|
|
pkgname=bzrtp
|
2017-03-16 21:07:42 +08:00
|
|
|
pkgver=1.0.5
|
2017-03-16 21:22:21 +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')
|
2017-03-16 21:22:21 +08:00
|
|
|
depends=('libxml2' 'mbedtls' 'bctoolbox')
|
|
|
|
makedepends=('bcunit')
|
2017-03-16 21:07:42 +08:00
|
|
|
source=("https://github.com/BelledonneCommunications/bzrtp/archive/${pkgver}.tar.gz")
|
|
|
|
sha256sums=('13fdb99b7b6060965a36cd4a87168a2d07fb9bd4c559b867a03db966cf557fea')
|
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
|
|
|
|
}
|
|
|
|
|
2017-03-16 21:30:31 +08:00
|
|
|
check() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make test
|
|
|
|
}
|
|
|
|
|
2015-07-03 17:59:10 +08:00
|
|
|
package() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2017-03-16 21:07:42 +08:00
|
|
|
}
|