36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Template file for 'libcmis'
|
|
pkgname=libcmis
|
|
version=0.6.2
|
|
revision=1
|
|
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=1b5c2d7258ff93eb5f9958ff0e4dfd7332dc75a071bb717dde2217a26602a644
|
|
|
|
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
|
|
}
|
|
}
|