PKGBUILDs/community/libmemcached/PKGBUILD

28 lines
708 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id$
# Maintainer: Evangelos Foutras <foutrelis@gmail.com>
pkgname=libmemcached
pkgver=0.33
pkgrel=1
pkgdesc="C and C++ client library to the memcached server"
arch=('i686' 'x86_64')
url="http://tangent.org/552/libmemcached.html"
license=('GPL')
depends=('glibc')
makedepends=('perl')
options=('!libtool')
source=(http://download.tangent.org/$pkgname-$pkgver.tar.gz)
md5sums=('bb16c0c2867218a91ad521b75cf995f7')
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 || return 1
make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et: