diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/libmemcached/PKGBUILD | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/libmemcached/PKGBUILD')
-rw-r--r-- | community/libmemcached/PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/community/libmemcached/PKGBUILD b/community/libmemcached/PKGBUILD new file mode 100644 index 000000000..25791b35d --- /dev/null +++ b/community/libmemcached/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 93008 2013-06-22 07:02:22Z foutrelis $ +# Maintainer: Evangelos Foutras <evangelos@foutrelis.com> + +pkgname=libmemcached +pkgver=1.0.17 +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' 'memcached' 'python-sphinx') +options=('!libtool') +source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz + gcc-4.8.patch) +sha256sums=('7bb27b2589400f918df1cf5002cb01ef7ccac6e23f818604e2386de62c80bba5' + '4a6b5d70cf7905fbd9e58a4646a6943da5f77b5e0a87b1518c4688f437963194') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + # Fix build with GCC 4.8 (patch from Debian) + patch -Np1 -i "$srcdir/gcc-4.8.patch" +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + + make -k check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: |