36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Template file for 'libcmis'
|
|
pkgname=libcmis
|
|
version=0.5.2
|
|
revision=5
|
|
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.xz"
|
|
checksum=d7b18d9602190e10d437f8a964a32e983afd57e2db316a07d87477a79f5000a2
|
|
|
|
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
|
|
}
|
|
}
|