mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
libcmis: new recipe (#1258)
This commit is contained in:
committed by
Jérôme Duval
parent
4f39d94495
commit
068bb50623
84
dev-cpp/libcmis/libcmis-0.5.1.recipe
Normal file
84
dev-cpp/libcmis/libcmis-0.5.1.recipe
Normal file
@@ -0,0 +1,84 @@
|
||||
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="1"
|
||||
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
|
||||
}
|
||||
22
dev-cpp/libcmis/patches/libcmis-0.5.1.patchset
Normal file
22
dev-cpp/libcmis/patches/libcmis-0.5.1.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From 591c990bca009efdd65db7814f9653d9c6105d92 Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Mon, 27 Mar 2017 16:12:31 +0000
|
||||
Subject: fix AM_INIT_AUTOMAKE to install missing files
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 27c33c9..abea6b6 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -10,7 +10,7 @@ m4_define([libcmis_version],[libcmis_api_version.libcmis_micro_version])
|
||||
|
||||
AC_PREREQ([2.63])
|
||||
AC_INIT([libcmis], [libcmis_version])
|
||||
-AM_INIT_AUTOMAKE()
|
||||
+AM_INIT_AUTOMAKE(foreign)
|
||||
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
|
||||
|
||||
# Checks for programs.
|
||||
--
|
||||
2.7.0
|
||||
|
||||
Reference in New Issue
Block a user