mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
# Maintainer: Nicola Squartini <tensor5@gmail.com>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - disable LTO
|
|
|
|
pkgname=qpid-proton
|
|
pkgver=0.31.0
|
|
pkgrel=1
|
|
pkgdesc='High-performance, lightweight messaging library'
|
|
arch=('x86_64')
|
|
url='https://qpid.apache.org/proton'
|
|
license=('Apache')
|
|
depends=('libjsoncpp.so' 'python')
|
|
makedepends=('cmake' 'doxygen' 'go' 'python-setuptools' 'python-sphinx' 'python-wheel' 'swig')
|
|
checkdepends=('python-tox')
|
|
source=("https://www.apache.org/dist/qpid/proton/${pkgver}/qpid-proton-${pkgver}.tar.gz")
|
|
sha512sums=('39487c34ae6ae1cc0c2f57f2ffb2bdf48a554e9ba8439a5c3f9776205cdb138f71284c9fc7626e4bbee3110ccce7da61ddb45f51ebddfede981ada0872074202')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
mkdir build
|
|
cd build
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DLIB_SUFFIX='' \
|
|
-DSYSINSTALL_BINDINGS=ON \
|
|
-DENABLE_LINKTIME_OPTIMIZATION=OFF \
|
|
..
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${pkgname}-${pkgver}/build
|
|
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}/build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|