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

Evangelos Foutras foutrelis at archlinux.org
Fri May 13 20:53:43 UTC 2016


    Date: Friday, May 13, 2016 @ 22:53:42
  Author: foutrelis
Revision: 175262

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 175261, pion/trunk/PKGBUILD)
  pion/repos/community-staging-x86_64/
  pion/repos/community-staging-x86_64/PKGBUILD
    (from rev 175261, pion/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   51 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   51 ++++++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)

Copied: pion/repos/community-staging-i686/PKGBUILD (from rev 175261, pion/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-05-13 20:53:42 UTC (rev 175262)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+pkgname=pion
+pkgver=5.0.7
+pkgrel=6
+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=($pkgname-$pkgver.zip::https://github.com/cloudmeter/pion/archive/$pkgver.zip)
+md5sums=('76a96dd4d34d21e41cbb2328564cba1a')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./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
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # Fix build with GCC 6
+  CXXFLAGS+=' -std=gnu++98'
+
+  ./configure --prefix=/usr --with-plugins=/usr/lib/pion/plugins --disable-doxygen-doc
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  # tests fail to compile with Boost 1.59.0
+  #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/PKGBUILD (from rev 175261, pion/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-05-13 20:53:42 UTC (rev 175262)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+pkgname=pion
+pkgver=5.0.7
+pkgrel=6
+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=($pkgname-$pkgver.zip::https://github.com/cloudmeter/pion/archive/$pkgver.zip)
+md5sums=('76a96dd4d34d21e41cbb2328564cba1a')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./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
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # Fix build with GCC 6
+  CXXFLAGS+=' -std=gnu++98'
+
+  ./configure --prefix=/usr --with-plugins=/usr/lib/pion/plugins --disable-doxygen-doc
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  # tests fail to compile with Boost 1.59.0
+  #make -k check
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  # install license
+  install -D -m0755 COPYING "$pkgdir/usr/share/licenses/$pkgname/Boost"
+}



More information about the arch-commits mailing list