void-packages/srcpkgs/qca/template

33 lines
980 B
Bash

# Template file for 'qca'
pkgname=qca
version=2.1.0
revision=4
build_style=cmake
configure_args="-DBUILD_TESTS=0 -DQCA_FEATURE_INSTALL_DIR=/usr/share/qca/mkspecs -DWITH_ossl_PLUGIN=yes"
hostmakedepends="cmake pkg-config"
makedepends="nss-devel libgcrypt-devel qt-devel libressl-devel"
depends="ca-certificates"
short_desc="Qt Cryptographic Architecture"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://delta.affinix.com/qca/"
distfiles="http://delta.affinix.com/download/qca/2.0/${pkgname}-${version}.tar.gz"
checksum=226dcd76138c3738cdc15863607a96b3758a4c3efd3c47295939bcea4e7a9284
qca-ossl_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - QCA OSSL plugin"
pkg_install() {
vmove usr/lib/qca/crypto/libqca-ossl.so
}
}
qca-devel_package() {
depends="qt-devel ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove usr/share/qca/mkspecs
}
}