summaryrefslogtreecommitdiff
path: root/community/pion/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-20 03:05:00 -0800
committerroot <root@rshg054.dnsready.net>2012-12-20 03:05:00 -0800
commitfecd6286e00e6e25458a7d1b8b80f6fdb236a7a2 (patch)
tree952afb5fdba1e4450e623d86f75b09ad4925bd40 /community/pion/PKGBUILD
parent19f11e0c4bbeefd65f85546a361e18532b60416a (diff)
Thu Dec 20 02:59:11 PST 2012
Diffstat (limited to 'community/pion/PKGBUILD')
-rw-r--r--community/pion/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/community/pion/PKGBUILD b/community/pion/PKGBUILD
new file mode 100644
index 000000000..6b9657b8e
--- /dev/null
+++ b/community/pion/PKGBUILD
@@ -0,0 +1,46 @@
+# $Id:$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+pkgname=pion
+pkgver=4.0.13.1
+# use the git snapshot until a new version is out
+_pkgver=dddce5e02d8a60f958e466e690d38eee924475b0
+pkgrel=1
+pkgdesc="A C++ development library for implementing lightweight HTTP interfaces"
+url="http://www.cloudmeter.com/pion/support/"
+arch=('i686' 'x86_64')
+license=('custom:Boost')
+depends=('boost-libs' 'openssl' 'log4cpp')
+makedepends=('boost')
+provides=('pion-net')
+conflicts=('pion-net')
+replaces=('pion-net')
+source=(https://github.com/cloudmeter/pion/archive/${_pkgver}.zip)
+md5sums=('87b710deb5e526a2c7f045d25eba2bee')
+
+build() {
+ cd "$srcdir/$pkgname-$_pkgver"
+
+ sh 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
+
+ ./configure --prefix=/usr --disable-doxygen-doc
+
+ 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"
+}