1 # Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
5 pkgdesc="An amqp system written in C++"
7 url="http://qpid.apache.org/index.html"
10 makedepends=('e2fsprogs' 'boost' 'python2')
12 source=("http://www.reverse.net/pub/apache/qpid/0.8/qpid-cpp-$pkgver.tar.gz")
13 md5sums=('08007df4b7e0fe06b108d9024413f9d2')
16 cd "$srcdir/qpidc-$pkgver"
19 PYTHON_LIB=$(python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib()") \
24 for PY in $(grep -rn '/usr/bin/env python' * | cut -d: -f1)
26 sed -i 's,^#!/usr/bin/env\ python,#!/usr/bin/env\ python2,' $PY
32 cd "$srcdir/qpidc-$pkgver"
34 make DESTDIR="$pkgdir/" install
37 # vim:set ts=2 sw=2 et: