diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-05-18 09:12:51 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-05-18 12:52:04 +0000 |
commit | 484679a23fb5dc782dbe3b6ac242322faf74340b (patch) | |
tree | 627c4173833ad299b002234cf016a31269e49ad6 /community | |
parent | ffb0c6f661f13677b4a25b1fe9f44639769eb981 (diff) | |
download | aports-484679a23fb5dc782dbe3b6ac242322faf74340b.tar.bz2 aports-484679a23fb5dc782dbe3b6ac242322faf74340b.tar.xz |
community/libcmis: moved from main
Diffstat (limited to 'community')
-rw-r--r-- | community/libcmis/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/community/libcmis/APKBUILD b/community/libcmis/APKBUILD new file mode 100644 index 0000000000..c14c013bb0 --- /dev/null +++ b/community/libcmis/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=libcmis +pkgver=0.5.1 +pkgrel=0 +pkgdesc="CMIS protocol client library" +url="http://sourceforge.net/projects/libcmis/" +arch="all" +license="MPL1.1+ GPLv2+ LGPLv2+" +depends="" +depends_dev="curl-dev libxml2-dev cppunit-dev boost-dev" +makedepends="$depends_dev autoconf automake libtool" +install="" +subpackages="$pkgname-dev $pkgname-doc cmis-client:client" +source="https://github.com/tdf/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz + " + +builddir="$srcdir"/libcmis-$pkgver + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --without-man \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +client() { + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr +} + +md5sums="3270154f0f40d86fce849b161f914101 libcmis-0.5.1.tar.gz" +sha256sums="6acbdf22ecdbaba37728729b75bfc085ee5a4b49a6024757cfb86ccd3da27b0e libcmis-0.5.1.tar.gz" +sha512sums="da1e66a7604f90644ad6ee691a5c06df36debec20db361e166ee64c9f8ce85be48623e38367ea2799107c10041ed5f8c3a8011a80d6eaca800c29084fb4fe0f6 libcmis-0.5.1.tar.gz" |