From 6487d725e2b84fde0c2db4bee94c2e918d2726e6 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 10 Apr 2015 14:48:52 +0000 Subject: main/libcmis: moved to main --- main/libcmis/APKBUILD | 56 ++++++++++++++++++++++++++++++++++++++++++++++++ testing/libcmis/APKBUILD | 56 ------------------------------------------------ 2 files changed, 56 insertions(+), 56 deletions(-) create mode 100644 main/libcmis/APKBUILD delete mode 100644 testing/libcmis/APKBUILD diff --git a/main/libcmis/APKBUILD b/main/libcmis/APKBUILD new file mode 100644 index 0000000000..077a609435 --- /dev/null +++ b/main/libcmis/APKBUILD @@ -0,0 +1,56 @@ +# Contributor: Timo Teräs +# Maintainer: Timo Teräs +pkgname=libcmis +pkgver=0.5.0 +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" +install="" +subpackages="$pkgname-dev $pkgname-doc cmis-client:client" +source="http://downloads.sourceforge.net/project/libcmis/libcmis-$pkgver.tar.gz" + +_builddir="$srcdir"/libcmis-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +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 + rm -f "$pkgdir"/usr/lib/*.la +} + +client() { + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr +} + +md5sums="5821b806a98e6c38370970e682ce76e8 libcmis-0.5.0.tar.gz" +sha256sums="a87e02913dee3ee659db5abf6d7dafcfcd85dd4b24bf4389d8d4afe8c8dcf9b6 libcmis-0.5.0.tar.gz" +sha512sums="abfdf5654ef8763c9744587ba831acea93cc0ba7deaa8d807eed2e9077be848db0334430f7c2d6eecefeb90f520abbe81364a86790c0aa4363724816aec4793b libcmis-0.5.0.tar.gz" diff --git a/testing/libcmis/APKBUILD b/testing/libcmis/APKBUILD deleted file mode 100644 index 077a609435..0000000000 --- a/testing/libcmis/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Contributor: Timo Teräs -# Maintainer: Timo Teräs -pkgname=libcmis -pkgver=0.5.0 -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" -install="" -subpackages="$pkgname-dev $pkgname-doc cmis-client:client" -source="http://downloads.sourceforge.net/project/libcmis/libcmis-$pkgver.tar.gz" - -_builddir="$srcdir"/libcmis-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -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 - rm -f "$pkgdir"/usr/lib/*.la -} - -client() { - mkdir -p "$subpkgdir"/usr - mv "$pkgdir"/usr/bin "$subpkgdir"/usr -} - -md5sums="5821b806a98e6c38370970e682ce76e8 libcmis-0.5.0.tar.gz" -sha256sums="a87e02913dee3ee659db5abf6d7dafcfcd85dd4b24bf4389d8d4afe8c8dcf9b6 libcmis-0.5.0.tar.gz" -sha512sums="abfdf5654ef8763c9744587ba831acea93cc0ba7deaa8d807eed2e9077be848db0334430f7c2d6eecefeb90f520abbe81364a86790c0aa4363724816aec4793b libcmis-0.5.0.tar.gz" -- cgit v1.2.3