summaryrefslogtreecommitdiff
path: root/community/libmemcached
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/libmemcached
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/libmemcached')
-rw-r--r--community/libmemcached/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/libmemcached/PKGBUILD b/community/libmemcached/PKGBUILD
new file mode 100644
index 000000000..9fd94459f
--- /dev/null
+++ b/community/libmemcached/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 42584 2011-03-17 18:42:33Z foutrelis $
+# Maintainer: Evangelos Foutras <foutrelis@gmail.com>
+
+pkgname=libmemcached
+pkgver=0.48
+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://download.tangent.org/$pkgname-$pkgver.tar.gz)
+md5sums=('e00ae51492a1f9dcbb6cfba50dc54758')
+
+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
+}
+
+# vim:set ts=2 sw=2 et: