summaryrefslogtreecommitdiff
path: root/community/libmemcached/PKGBUILD
blob: 9fd94459fd4330752e5e57b2e39569da6dc078d6 (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
28
29
30
31
32
# $Id: PKGBUILD 42584 2011-03-17 18:42:33Z foutrelis $
# Maintainer: Evangelos Foutras <foutrelis@gmail.com>

pkgname=libmemcached
pkgver=0.48
pkgrel=1
pkgdesc="C and C++ client library to the memcached server"
arch=('i686' 'x86_64')
url="http://libmemcached.org/"
license=('GPL')
depends=('glibc')
makedepends=('perl')
options=('!libtool')
source=(http://download.tangent.org/$pkgname-$pkgver.tar.gz)
md5sums=('e00ae51492a1f9dcbb6cfba50dc54758')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  # memcached is needed only in `make test', therefore we pass
  # --without-memcached to the configure script to skip it
  ./configure --prefix=/usr --without-memcached
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: