summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2f93fdbb51fefe78d2c4caaa88a8e2b893bd300a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Ciriaco Garcia de Celis <cgarcia at etherpilot.com>
pkgname=qpid-proton
pkgver=0.10
pkgrel=1
pkgdesc="Proton is a high-performance, lightweight messaging library"
arch=('i686' 'x86_64' 'armv7h')
url="https://qpid.apache.org/releases/"
license=('APACHE')
depends=('python2')
makedepends=('util-linux' 'python2' 'cmake' 'swig')
optdepends=()
source=("http://www.eu.apache.org/dist/qpid/proton/$pkgver/$pkgname-$pkgver.tar.gz")
sha1sums=('a38f246beea833b7fbbc8dd594b922c1ec18f691')

build() {
  cd "${srcdir}/qpid-proton-${pkgver}"
  mkdir build
  cd build
  cmake .. -DSYSINSTALL_BINDINGS=ON -DPYTHON_EXECUTABLE=/usr/bin/python2.7 \
  -DPYTHON_INCLUDE_DIR=/usr/include/python2.7/ \
  -DPYTHON_LIBRARY=/lib/libpython2.7.so -DCMAKE_INSTALL_PREFIX=/usr \
  -DBUILD_PHP=OFF -DBUILD_RUBY=OFF -DBUILD_PERL=OFF -DBUILD_JAVA=OFF -DBUILD_PYTHON=ON \
  -DCMAKE_INSTALL_LIBDIR=/lib -DLIB_SUFFIX=""
  make
}

package() {
  cd "${srcdir}/qpid-proton-${pkgver}/build"
  make DESTDIR="${pkgdir}/" install
}