[arch-commits] Commit in pion/repos (6 files)

Lukas Jirkovsky stativ at nymeria.archlinux.org
Sat Nov 30 13:17:08 UTC 2013


    Date: Saturday, November 30, 2013 @ 14:17:08
  Author: stativ
Revision: 101707

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  pion/repos/community-staging-i686/
  pion/repos/community-staging-i686/PKGBUILD
    (from rev 101706, pion/trunk/PKGBUILD)
  pion/repos/community-staging-i686/include_boost_units.diff
    (from rev 101706, pion/trunk/include_boost_units.diff)
  pion/repos/community-staging-x86_64/
  pion/repos/community-staging-x86_64/PKGBUILD
    (from rev 101706, pion/trunk/PKGBUILD)
  pion/repos/community-staging-x86_64/include_boost_units.diff
    (from rev 101706, pion/trunk/include_boost_units.diff)

---------------------------------------------------+
 community-staging-i686/PKGBUILD                   |   51 ++++++++++++++++++++
 community-staging-i686/include_boost_units.diff   |   14 +++++
 community-staging-x86_64/PKGBUILD                 |   51 ++++++++++++++++++++
 community-staging-x86_64/include_boost_units.diff |   14 +++++
 4 files changed, 130 insertions(+)

Copied: pion/repos/community-staging-i686/PKGBUILD (from rev 101706, pion/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-11-30 13:17:08 UTC (rev 101707)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+pkgname=pion
+pkgver=5.0.4
+pkgrel=2
+pkgdesc="A C++ development library for implementing lightweight HTTP interfaces"
+url="https://github.com/cloudmeter/pion"
+arch=('i686' 'x86_64')
+license=('custom:Boost')
+depends=('boost-libs' 'openssl' 'log4cpp')
+makedepends=('boost')
+provides=('pion-net')
+conflicts=('pion-net')
+replaces=('pion-net')
+source=(https://github.com/cloudmeter/pion/archive/$pkgver.zip \
+        include_boost_units.diff)
+md5sums=('5807d39beb0c80fdef5b8ad5cee71c1c'
+         'b8c95c443121e4137f107814272c05f8')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -Np1 < "$srcdir/include_boost_units.diff" || true
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  sh autogen.sh
+
+  # override configure bug (forces debug even when nobody asked for it)
+  sed -i "s/ -ggdb//g" configure
+  # override Makefile bug
+  sed -i "/docs:/ s/doxygen-doc//" Makefile.in
+
+  ./configure --prefix=/usr --with-plugins=/usr/lib/pion/plugins --disable-doxygen-doc
+
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make -k check
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  # install license
+  install -D -m0755 COPYING "$pkgdir/usr/share/licenses/$pkgname/Boost"
+}

Copied: pion/repos/community-staging-i686/include_boost_units.diff (from rev 101706, pion/trunk/include_boost_units.diff)
===================================================================
--- community-staging-i686/include_boost_units.diff	                        (rev 0)
+++ community-staging-i686/include_boost_units.diff	2013-11-30 13:17:08 UTC (rev 101707)
@@ -0,0 +1,14 @@
+diff --git a/include/pion/error.hpp b/include/pion/error.hpp
+index 51e8ce3..3e8758c 100644
+--- a/include/pion/error.hpp
++++ b/include/pion/error.hpp
+@@ -19,6 +19,9 @@
+ #include <boost/exception/info.hpp>
+ #include <boost/exception/error_info.hpp>
+ #include <boost/exception/get_error_info.hpp>
++#if BOOST_VERSION >= 104700
++#include <boost/units/io.hpp>
++#endif
+ #include <pion/config.hpp>
+ 
+ 

Copied: pion/repos/community-staging-x86_64/PKGBUILD (from rev 101706, pion/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-11-30 13:17:08 UTC (rev 101707)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+pkgname=pion
+pkgver=5.0.4
+pkgrel=2
+pkgdesc="A C++ development library for implementing lightweight HTTP interfaces"
+url="https://github.com/cloudmeter/pion"
+arch=('i686' 'x86_64')
+license=('custom:Boost')
+depends=('boost-libs' 'openssl' 'log4cpp')
+makedepends=('boost')
+provides=('pion-net')
+conflicts=('pion-net')
+replaces=('pion-net')
+source=(https://github.com/cloudmeter/pion/archive/$pkgver.zip \
+        include_boost_units.diff)
+md5sums=('5807d39beb0c80fdef5b8ad5cee71c1c'
+         'b8c95c443121e4137f107814272c05f8')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -Np1 < "$srcdir/include_boost_units.diff" || true
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  sh autogen.sh
+
+  # override configure bug (forces debug even when nobody asked for it)
+  sed -i "s/ -ggdb//g" configure
+  # override Makefile bug
+  sed -i "/docs:/ s/doxygen-doc//" Makefile.in
+
+  ./configure --prefix=/usr --with-plugins=/usr/lib/pion/plugins --disable-doxygen-doc
+
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make -k check
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  # install license
+  install -D -m0755 COPYING "$pkgdir/usr/share/licenses/$pkgname/Boost"
+}

Copied: pion/repos/community-staging-x86_64/include_boost_units.diff (from rev 101706, pion/trunk/include_boost_units.diff)
===================================================================
--- community-staging-x86_64/include_boost_units.diff	                        (rev 0)
+++ community-staging-x86_64/include_boost_units.diff	2013-11-30 13:17:08 UTC (rev 101707)
@@ -0,0 +1,14 @@
+diff --git a/include/pion/error.hpp b/include/pion/error.hpp
+index 51e8ce3..3e8758c 100644
+--- a/include/pion/error.hpp
++++ b/include/pion/error.hpp
+@@ -19,6 +19,9 @@
+ #include <boost/exception/info.hpp>
+ #include <boost/exception/error_info.hpp>
+ #include <boost/exception/get_error_info.hpp>
++#if BOOST_VERSION >= 104700
++#include <boost/units/io.hpp>
++#endif
+ #include <pion/config.hpp>
+ 
+ 




More information about the arch-commits mailing list