summaryrefslogtreecommitdiff
path: root/community/pion-net/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pion-net/PKGBUILD')
-rw-r--r--community/pion-net/PKGBUILD41
1 files changed, 23 insertions, 18 deletions
diff --git a/community/pion-net/PKGBUILD b/community/pion-net/PKGBUILD
index fd362da67..d2511597a 100644
--- a/community/pion-net/PKGBUILD
+++ b/community/pion-net/PKGBUILD
@@ -1,31 +1,36 @@
-# $Id: PKGBUILD 69770 2012-04-23 09:16:19Z ibiru $
+# $Id: PKGBUILD 74005 2012-07-18 01:08:15Z ibiru $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor: David Watzke <david@watzke.cz>
-
pkgname=pion-net
-pkgver=4.0.11
-pkgrel=1
+pkgver=4.0.12
+pkgrel=3
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")
-md5sums=('e5cf42a02681c5d73e7be6784d99fece')
+source=("http://www.pion.org/files/$pkgname-$pkgver.tar.bz2" \
+ gcc_4.7_fix.diff boost_1.50_support.diff)
+md5sums=('baf0b6a006660dc4051c824e4660cb9d'
+ 'd6c5314678709184e983b301cea11566'
+ 'fcd2a7520b818354308315dc1e8053d4')
build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # override configure bug (forces debug even when nobody asked for it)
- sed -i "s/ -ggdb//g" configure
+ cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --disable-doxygen-doc
+ # 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
+ # fix compilation with new versions of gcc
+ patch -Np1 < "$srcdir"/gcc_4.7_fix.diff || true
+ # fix build with boost 1.50 - port to filesystem v3
+ patch -Np1 < "$srcdir"/boost_1.50_support.diff || true
- # override Makefile bug
- sed -i "/docs:/ s/doxygen-doc//" Makefile
+ ./configure --prefix=/usr --disable-doxygen-doc
- make
+ make
}
check() {
@@ -34,9 +39,9 @@ check() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
- # install license
- install -D -m0755 COPYING "$pkgdir/usr/share/licenses/$pkgname/Boost"
+ # install license
+ install -D -m0755 COPYING "$pkgdir/usr/share/licenses/$pkgname/Boost"
}