mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +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.33.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')
|
|
source=("https://www.apache.org/dist/qpid/proton/${pkgver}/qpid-proton-${pkgver}.tar.gz")
|
|
sha512sums=('d82cade354fd01f2cf7a3e0c17d48cdfa3bde263c8571762cdeb0b4da6ef2d6fd6f97cdba4fa4e8fc1b5368c54ccd2ca860fb56f46f58091c91deab843a17cf2')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
mkdir build
|
|
cd build
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DLIB_SUFFIX='' \
|
|
-DSYSINSTALL_BINDINGS=ON \
|
|
-DENABLE_LINKTIME_OPTIMIZATION=OFF \
|
|
-DENABLE_TOX_TEST=OFF \
|
|
..
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${pkgname}-${pkgver}/build
|
|
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}/build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|