libcmis: update to 0.5.1, moved to github, fix -devel depends.

This commit is contained in:
Alessio Sergi 2017-07-17 16:15:51 +02:00
parent c47832b9f6
commit 9c52859554
2 changed files with 11 additions and 1588 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,32 +1,22 @@
# Template file for 'libcmis' # Template file for 'libcmis'
pkgname=libcmis pkgname=libcmis
version=0.5.0 version=0.5.1
revision=7 revision=1
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="pkg-config libtool automake" configure_args="DOCBOOK2MAN=docbook2man --disable-werror"
hostmakedepends="pkg-config docbook2x"
makedepends="libcurl-devel libxml2-devel libcppunit-devel boost-devel" makedepends="libcurl-devel libxml2-devel libcppunit-devel boost-devel"
short_desc="C++ client library for the CMIS interface" short_desc="C/C++ client library for the CMIS protocol"
maintainer="Enno Boland <gottox@voidlinux.eu>" maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL,LGPL,MPL" license="GPL-2, LGPL-2.1, MPL-1.1"
homepage="http://sourceforge.net/projects/libcmis/" homepage="https://github.com/tdf/libcmis"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-${version}.tar.gz" distfiles="https://github.com/tdf/libcmis/releases/download/v${version}/libcmis-${version}.tar.gz"
checksum=a87e02913dee3ee659db5abf6d7dafcfcd85dd4b24bf4389d8d4afe8c8dcf9b6 checksum=6acbdf22ecdbaba37728729b75bfc085ee5a4b49a6024757cfb86ccd3da27b0e
configure_args="--without-man --disable-werror"
CXXFLAGS="-Wno-deprecated" CXXFLAGS="-Wno-deprecated"
pre_configure() {
# Use newer boost.m4 from https://github.com/tsuna/boost.m4
# which fixes the build with gcc6
cp -v ${FILESDIR}/boost.m4 m4
# Insert the new command BOOST_REQUIRE to define boost.m4 functions
sed -i configure.ac \
-e '/m4_pattern_allow(\[\^BOOST_\])/a BOOST_REQUIRE'
autoreconf -fi
}
libcmis-devel_package() { libcmis-devel_package() {
depends="libcmis>=${version}_${revision}" depends="libcurl-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
@ -40,5 +30,6 @@ libcmis-tools_package() {
short_desc+=" - tools" short_desc+=" - tools"
pkg_install() { pkg_install() {
vmove usr/bin vmove usr/bin
vmove usr/share/man
} }
} }