[arch-commits] Commit in pion/repos (4 files)
Lukas Jirkovsky
stativ at archlinux.org
Fri Aug 26 18:17:38 UTC 2016
Date: Friday, August 26, 2016 @ 18:17:37
Author: stativ
Revision: 187713
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 187712, pion/trunk/PKGBUILD)
pion/repos/community-staging-x86_64/
pion/repos/community-staging-x86_64/PKGBUILD
(from rev 187712, 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 187712, pion/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-08-26 18:17:37 UTC (rev 187713)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+pkgname=pion
+pkgver=5.0.7
+pkgrel=7
+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 187712, pion/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-08-26 18:17:37 UTC (rev 187713)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+pkgname=pion
+pkgver=5.0.7
+pkgrel=7
+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