summaryrefslogtreecommitdiff
path: root/extra/serf/PKGBUILD
blob: 011594504184c04dae7ef2c907796e5620eb3a70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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' 'mips64el')
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
}