mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-14 01:52:23 +01:00
41 lines
1.2 KiB
Plaintext
Executable File
41 lines
1.2 KiB
Plaintext
Executable File
# Maintainer: Noel Kuntze <noel.kuntze@contauro.com>
|
|
pkgname=libexmdbpp
|
|
pkgver=1.11
|
|
pkgrel=1
|
|
pkgdesc="C++ implementation of the exmdb wire protocol for grommunio"
|
|
arch="all"
|
|
url="https://grommunio.com/"
|
|
license="AGPL-3.0-or-later"
|
|
makedepends="cmake samurai python3-dev py3-pybind11-dev py3-pkgconfig"
|
|
subpackages="$pkgname-dev py3-pyexmdb:py3"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/grommunio/libexmdbpp/archive/refs/tags/$pkgver.tar.gz
|
|
0001-musl-ulong.patch
|
|
"
|
|
#builddir="$srcdir/libexmdbpp-$pkgver/"
|
|
options="!check" # No test suite
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
|
-DCMAKE_SKIP_INSTALL_RPATH=ON
|
|
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
py3() {
|
|
pkgdesc="$pkgdesc (python bindings)"
|
|
|
|
amove usr/lib/python*
|
|
}
|
|
|
|
sha512sums="
|
|
757c2f789b892f6cd2e8681d74a215328415e18440da852f41cc5185b2aad350247fab5e65188e516fbb7cd35d05a0663ab59bcf0a18d5a35178f63c29f522e7 libexmdbpp-1.11.tar.gz
|
|
69ec05633818ad1ced643b09fda13ada3d36dc95e01fda0984c49ee4825446daceaf2163ea36a6ecf3cf378bd5539890bfafb756dc6a4e45ea84b5b3e3e82c04 0001-musl-ulong.patch
|
|
"
|