void-packages/srcpkgs/libsignal-protocol-c/template

18 lines
622 B
Bash

# Template file for 'libsignal-protocol-c'
pkgname=libsignal-protocol-c
version=2.3.2
revision=2
build_style=cmake
configure_args="-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
makedepends="libressl-devel"
checkdepends="pkg-config check-devel"
short_desc="Signal Protocol C Library"
maintainer="teldra <teldra@rotce.de>"
license="GPL-3.0-or-later"
homepage="https://www.whispersystems.org/"
distfiles="https://github.com/signalapp/libsignal-protocol-c/archive/v${version}.tar.gz"
checksum=f3826f3045352e14027611c95449bfcfe39bfd3d093d578c70f70eee0c85000d
if [ "${XBPS_CHECK_PKGS}" ]; then
configure_args+=" -DBUILD_TESTING=1"
fi