Files
haikuports/dev-cpp/libcmis/libcmis-0.5.1.recipe
Michael Lotz b63610ca88 Various revision bumps to force rebuild of _x86 packages.
These were all built against openssl11 which was deactivated.
2017-11-29 21:26:57 +01:00

85 lines
2.2 KiB
Bash

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="http://clucene.sourceforge.net/"
COPYRIGHT="2011-2014 Cedric Bosdonnat, SUSE
2013 Cao Cuong Ngo"
LICENSE="GNU LGPL v2
GNU GPL v2
MPL v1.1"
REVISION="3"
SOURCE_URI="https://github.com/tdf/libcmis/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="b88851b5e7dfa65b840d403231b38868ba77dae1e7abf2628d7a0dc3cd5a1409"
PATCHES="libcmis-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libcmis$secondaryArchSuffix = $portVersion
cmd:cmis_client$secondaryArchSuffix = $portVersion
lib:libcmis_0.5$secondaryArchSuffix = 5.0.0 compat >= 5
lib:libcmis_c_0.5$secondaryArchSuffix = 5.0.0 compat >= 5
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libboost_date_time$secondaryArchSuffix
lib:libboost_program_options$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
libcmis${secondaryArchSuffix}_devel = $portVersion
devel:libcmis_0.5$secondaryArchSuffix = 5.0.0 compat >= 5
devel:libcmis_c_0.5$secondaryArchSuffix = 5.0.0 compat >= 5
"
REQUIRES_devel="
libcmis$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libboost_date_time$secondaryArchSuffix
devel:libboost_program_options$secondaryArchSuffix
devel:libcurl$secondaryArchSuffix
devel:libcrypto$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
make $jobArgs
}
INSTALL()
{
make install
rm -rf $libDir/*.la
prepareInstalledDevelLibs libcmis-0.5 \
libcmis-c-0.5
fixPkgconfig
packageEntries devel \
$developDir
}