desktop/libmemcached/PKGBUILD

34 lines
909 B
Bash
Raw Normal View History

2012-01-28 22:37:04 +08:00
#
# Apps Packages for Chakra, part of chakra-project.org
#
2012-10-24 18:56:18 +08:00
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# Contributor from Arch: Evangelos Foutras <evangelos@foutrelis.com>
2012-01-28 22:37:04 +08:00
pkgname=libmemcached
2012-10-24 18:56:18 +08:00
pkgver=1.0.13
2012-01-28 22:37:04 +08:00
pkgrel=1
pkgdesc="C and C++ client library to the memcached server"
arch=('i686' 'x86_64')
url="http://libmemcached.org/"
license=('GPL')
2012-10-24 18:56:18 +08:00
depends=('glibc' 'libsasl' 'libevent')
2012-01-28 22:37:04 +08:00
makedepends=('perl')
options=('!libtool')
source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz)
2012-10-24 18:56:18 +08:00
sha256sums=('41efd1b5e1a8839ebe6c51714ae013f1a4b547bee0973cd8d87cdebdefdc4b28')
2012-01-28 22:37:04 +08:00
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
}