summaryrefslogtreecommitdiff
path: root/user/libcmis/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-08-19 03:38:17 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-08-19 03:38:17 +0000
commitcb6f083b369ee59de217c0504d471124d533325d (patch)
tree28e404754d754f3a852831d2b649010f70695e01 /user/libcmis/APKBUILD
parent7ef2ed32d3d4442463f39d31380cff9432608231 (diff)
parentc5975fc819d7b79180a3627a87974da9d18685e3 (diff)
downloadpackages-cb6f083b369ee59de217c0504d471124d533325d.tar.gz
packages-cb6f083b369ee59de217c0504d471124d533325d.tar.bz2
packages-cb6f083b369ee59de217c0504d471124d533325d.tar.xz
packages-cb6f083b369ee59de217c0504d471124d533325d.zip
Merge branch 'libreoffice' into 'master'
LibreOffice and dependencies I have made a deal with Satan. See merge request !44
Diffstat (limited to 'user/libcmis/APKBUILD')
-rw-r--r--user/libcmis/APKBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/user/libcmis/APKBUILD b/user/libcmis/APKBUILD
new file mode 100644
index 000000000..a60e7f2b0
--- /dev/null
+++ b/user/libcmis/APKBUILD
@@ -0,0 +1,52 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=libcmis
+pkgver=0.5.1
+pkgrel=2
+pkgdesc="CMIS protocol client library for C/C++"
+url="https://github.com/tdf/libcmis"
+arch="all"
+license="MPL-1.1 OR GPL-2.0+ OR LGPL-2.0+"
+depends=""
+depends_dev="boost-dev"
+makedepends="$depends_dev curl-dev libxml2-dev"
+checkdepends="cppunit-dev"
+subpackages="$pkgname-dev cmis-client:client"
+source="https://github.com/tdf/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+
+ # Note: manpages require docbook2x to build
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --without-man \
+ --disable-werror
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+
+ # Leftover docbook file
+ rm -r "$pkgdir"/usr/share/man
+}
+
+client() {
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr
+}
+
+sha512sums="da1e66a7604f90644ad6ee691a5c06df36debec20db361e166ee64c9f8ce85be48623e38367ea2799107c10041ed5f8c3a8011a80d6eaca800c29084fb4fe0f6 libcmis-0.5.1.tar.gz"