mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libcmis: add recipe for 0.6.2 version
This commit is contained in:
85
dev-cpp/libcmis/libcmis0.6-0.6.2.recipe
Normal file
85
dev-cpp/libcmis/libcmis0.6-0.6.2.recipe
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user