diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-12-07 15:02:31 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-12-07 15:02:31 +0000 |
commit | 8736f458a17a03cf79a763a0c8122f93162fed71 (patch) | |
tree | fba97f22de8410ee5df8985e6c98756093578100 /community-staging/pion-net | |
parent | d1d87d2ac643e3dabc251f3cec7d3b00e29b282c (diff) |
Wed Dec 7 15:02:27 UTC 2011
Diffstat (limited to 'community-staging/pion-net')
-rw-r--r-- | community-staging/pion-net/PKGBUILD | 49 | ||||
-rw-r--r-- | community-staging/pion-net/pion-net-4.0.5-build.patch | 12 |
2 files changed, 0 insertions, 61 deletions
diff --git a/community-staging/pion-net/PKGBUILD b/community-staging/pion-net/PKGBUILD deleted file mode 100644 index 54d6f59b0..000000000 --- a/community-staging/pion-net/PKGBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# $Id: PKGBUILD 59459 2011-11-25 14:13:11Z stativ $ -# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com> -# Contributor: David Watzke <david@watzke.cz> - -pkgname=pion-net -pkgver=4.0.7 -pkgrel=2 -pkgdesc="A C++ development library for implementing lightweight HTTP interfaces" -url="http://www.pion.org/projects/pion-network-library" -arch=('i686' 'x86_64') -license=('custom:Boost') -depends=('boost-libs' 'openssl' 'log4cpp') -makedepends=('boost') -source=("http://www.pion.org/files/$pkgname-$pkgver.tar.bz2" - "$pkgname-4.0.5-build.patch") -md5sums=('761c8af8dc54102b637f8d91d162f987' - 'd75ea2af90163a81d2bc71fda00f0c00') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - patch -p1 -i "$srcdir/$pkgname-4.0.5-build.patch" - - # override configure bug (forces debug even when nobody asked for it) - sed -i "s/ -ggdb//g;s/ -DNDEBUG//g" configure - - ./configure --prefix=/usr --disable-doxygen-doc --with-log4cpp - - find -name Makefile -print0 | xargs -0 \ - sed -i -r '/^C(XX)?FLAGS/ s/$/ -DBOOST_FILESYSTEM_VERSION=2/' Makefile - - # override Makefile bug - sed -i "/docs:/ s/doxygen-doc//" Makefile - - 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" -} diff --git a/community-staging/pion-net/pion-net-4.0.5-build.patch b/community-staging/pion-net/pion-net-4.0.5-build.patch deleted file mode 100644 index 25fdca20b..000000000 --- a/community-staging/pion-net/pion-net-4.0.5-build.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru pion-net-4.0.5/net/include/pion/net/TCPConnection.hpp pion-net-4.0.5.fixed/net/include/pion/net/TCPConnection.hpp ---- pion-net-4.0.5/net/include/pion/net/TCPConnection.hpp 2010-12-21 03:07:13.000000000 +0100 -+++ pion-net-4.0.5.fixed/net/include/pion/net/TCPConnection.hpp 2011-07-31 09:01:38.445559768 +0200 -@@ -639,7 +639,7 @@ - - /// returns reference to the io_service used for async operations - inline boost::asio::io_service& getIOService(void) { -- return m_ssl_socket.lowest_layer().io_service(); -+ return m_ssl_socket.lowest_layer().get_io_service(); - } - - /// returns non-const reference to underlying TCP socket object |