summaryrefslogtreecommitdiff
path: root/extra/serf
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-23 02:16:24 -0800
committerroot <root@rshg054.dnsready.net>2012-12-23 02:16:24 -0800
commit529672e261386840882f17eeb9b27f16ffd30e18 (patch)
tree09276aef7dfdb6fafba733b3bb620b5faac69847 /extra/serf
parent0f92922979ec1f52c580079a4a49a7dc84af4ca1 (diff)
Sun Dec 23 02:15:27 PST 2012
Diffstat (limited to 'extra/serf')
-rw-r--r--extra/serf/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/serf/PKGBUILD b/extra/serf/PKGBUILD
new file mode 100644
index 000000000..4dc7caa81
--- /dev/null
+++ b/extra/serf/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 173790 2012-12-23 03:50:15Z stephane $
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+pkgname=serf
+pkgver=1.1.1
+pkgrel=1
+pkgdesc="High-performance asynchronous HTTP client library"
+url="http://code.google.com/p/serf/"
+arch=('i686' 'x86_64')
+license=('Apache')
+depends=('apr' 'apr-util' 'openssl' 'zlib')
+source=(http://serf.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('1ec4689ef57e7c28e7371df00d0ccc3e32ef6457')
+options=('!libtool')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr --with-apr=/usr --with-apr-util=/usr --with-openssl=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+ rm "${pkgdir}"/usr/lib/libserf-1.a
+}