void-packages/srcpkgs/libcmis/template

36 lines
1009 B
Bash

# Template file for 'libcmis'
pkgname=libcmis
version=0.5.1
revision=3
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.eu>"
license="GPL-2, LGPL-2.1, MPL-1.1"
homepage="https://github.com/tdf/libcmis"
distfiles="https://github.com/tdf/libcmis/releases/download/v${version}/libcmis-${version}.tar.gz"
checksum=6acbdf22ecdbaba37728729b75bfc085ee5a4b49a6024757cfb86ccd3da27b0e
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
}
}