From eeb45f0e1ab28ca0bd5b560f4c48e53e5f5cea9f Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Thu, 18 Apr 2024 23:20:20 +1000 Subject: [PATCH] libcmis: add recipe for 0.6.2 version --- dev-cpp/libcmis/libcmis0.6-0.6.2.recipe | 85 +++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 dev-cpp/libcmis/libcmis0.6-0.6.2.recipe diff --git a/dev-cpp/libcmis/libcmis0.6-0.6.2.recipe b/dev-cpp/libcmis/libcmis0.6-0.6.2.recipe new file mode 100644 index 000000000..c605f9e84 --- /dev/null +++ b/dev-cpp/libcmis/libcmis0.6-0.6.2.recipe @@ -0,0 +1,85 @@ +SUMMARY="A C/C++ cmis client" +DESCRIPTION="Libcmis aims at providing a C/C++ client library for the CMIS \ +protocol. A cmis-client tool is maintained to help testing and showing libcmis features." +HOMEPAGE="https://github.com/tdf/libcmis" +COPYRIGHT="2011-2014 Cedric Bosdonnat, SUSE + 2013 Cao Cuong Ngo" +LICENSE="GNU LGPL v2 + GNU GPL v2 + MPL v1.1" +REVISION="1" +SOURCE_URI="https://github.com/tdf/libcmis/archive/v$portVersion.tar.gz" +CHECKSUM_SHA256="ebf7933d93b9d5d6da7b757c89c03b131abd95550864bb98d2a60536593ddeb5" +SOURCE_DIR="libcmis-$portVersion" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + libcmis0.6$secondaryArchSuffix = $portVersion + cmd:cmis_client$secondaryArchSuffix = $portVersion + lib:libcmis_0.6$secondaryArchSuffix = 6.1.1 compat >= 6 + lib:libcmis_c_0.6$secondaryArchSuffix = 6.0.0 compat >= 6 + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libboost_date_time$secondaryArchSuffix + lib:libboost_program_options$secondaryArchSuffix + lib:libcrypto$secondaryArchSuffix + lib:libcurl$secondaryArchSuffix + lib:libiconv$secondaryArchSuffix + lib:libssl$secondaryArchSuffix + lib:libxml2$secondaryArchSuffix + lib:libz$secondaryArchSuffix + " + +PROVIDES_devel=" + libcmis0.6${secondaryArchSuffix}_devel = $portVersion + devel:libcmis_0.6$secondaryArchSuffix = 6.1.1 compat >= 6 + devel:libcmis_c_0.6$secondaryArchSuffix = 6.0.0 compat >= 6 + " +REQUIRES_devel=" + libcmis0.6$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libboost_date_time$secondaryArchSuffix >= 1.83.0 + devel:libboost_program_options$secondaryArchSuffix >= 1.83.0 + devel:libcrypto$secondaryArchSuffix + devel:libcurl$secondaryArchSuffix + devel:libiconv$secondaryArchSuffix + devel:libssl$secondaryArchSuffix + devel:libxml2$secondaryArchSuffix + devel:libz$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:autoconf + cmd:gcc$secondaryArchSuffix + cmd:libtoolize$secondaryArchSuffix + cmd:make + cmd:pkg_config$secondaryArchSuffix + " + +BUILD() +{ + autoreconf -fi + runConfigure ./configure --without-man --disable-tests \ + --disable-static \ + --disable-werror + make $jobArgs +} + +INSTALL() +{ + make install-strip + + rm -rf $libDir/*.la + + prepareInstalledDevelLibs libcmis-0.6 \ + libcmis-c-0.6 + fixPkgconfig + + packageEntries devel \ + $developDir +}