desktop/memcached/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) ccf09b7fc7 Imported Memcached from Arch Linux.
2011-12-18 03:43:59 +00:00

37 lines
956 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# Apps Packages for Chakra, part of chakra-project.org
#
# Contributor: Evangelos Foutras <evangelos@foutrelis.com>
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=memcached
_pkgname=libmemcached
pkgver=1.0.2
_pkgver=1.0
pkgrel=1
pkgdesc="C and C++ client library to the memcached server"
arch=('i686' 'x86_64')
url="http://libmemcached.org/"
license=('GPL')
depends=('glibc')
makedepends=('perl')
options=('!libtool')
source=(http://launchpad.net/$_pkgname/$_pkgver/$pkgver/+download/$_pkgname-$pkgver.tar.gz)
sha1sums=('d992845fe71210e2e93147ba8f29df1fca14e716')
build() {
cd $srcdir/$_pkgname-$pkgver
# NOTE: memcached is only needed in make test, therefore we pass
# --without-memcached to the configure script to skip make test.
./configure \
--prefix=/usr \
--without-memcached
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make DESTDIR="$pkgdir" install
}