desktop/libmemcached/PKGBUILD

41 lines
1001 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
pkgver=1.0.17
2012-01-28 22:37:04 +08:00
pkgrel=1
pkgdesc="C and C++ client library to the memcached server"
arch=('x86_64')
2012-01-28 22:37:04 +08:00
url="http://libmemcached.org/"
license=('GPL')
2012-10-24 18:56:18 +08:00
depends=('glibc' 'libsasl' 'libevent')
makedepends=('perl' 'memcached')
2012-01-28 22:37:04 +08:00
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"
}
2012-01-28 22:37:04 +08:00
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
2012-01-28 22:37:04 +08:00
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}