desktop/libmemcached/PKGBUILD
2012-10-24 10:56:18 +00:00

34 lines
909 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# Contributor from Arch: Evangelos Foutras <evangelos@foutrelis.com>
pkgname=libmemcached
pkgver=1.0.13
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' 'libevent')
makedepends=('perl')
options=('!libtool')
source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz)
sha256sums=('41efd1b5e1a8839ebe6c51714ae013f1a4b547bee0973cd8d87cdebdefdc4b28')
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
}