desktop/libmemcached/PKGBUILD
2012-01-28 14:37:04 +00:00

34 lines
853 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# Contributor: Evangelos Foutras <evangelos@foutrelis.com>
pkgname=libmemcached
pkgver=1.0.4
pkgrel=1
pkgdesc="C and C++ client library to the memcached server"
arch=('i686' 'x86_64')
url="http://libmemcached.org/"
license=('GPL')
depends=('glibc' 'libsasl')
makedepends=('perl')
options=('!libtool')
source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz)
md5sums=('6eded403ce736f6ac3c42c8f54dc88ae')
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
}