# $Id: PKGBUILD 70077 2012-04-29 03:10:00Z foutrelis $ # Maintainer: Evangelos Foutras pkgname=libmemcached pkgver=1.0.7 pkgrel=1 pkgdesc="C and C++ client library to the memcached server" arch=('i686' 'x86_64' 'mips64el') url="http://libmemcached.org/" license=('GPL') depends=('glibc' 'libsasl' 'libevent') makedepends=('perl') options=('!libtool') source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz) sha256sums=('3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81') 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: