void-packages/srcpkgs/libcmis/template

37 lines
1.0 KiB
Bash

# Template file for 'libcmis'
pkgname=libcmis
version=0.5.2
revision=4
build_style=gnu-configure
configure_args="DOCBOOK2MAN=docbook2man --disable-werror"
hostmakedepends="pkg-config docbook2x"
makedepends="libcurl-devel libxml2-devel libcppunit-devel boost-devel"
short_desc="C/C++ client library for the CMIS protocol"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later, MPL-1.1"
homepage="https://github.com/tdf/libcmis"
distfiles="https://github.com/tdf/libcmis/releases/download/v${version}/libcmis-${version}.tar.gz"
checksum=ed6f681a48abbf3c2324564b17a180d21fa9503230e8708825e1ad80daee4f81
patch_args=-Np0
CXXFLAGS="-Wno-deprecated"
libcmis-devel_package() {
depends="libcurl-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}
libcmis-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
vmove usr/share/man
}
}