mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
41 lines
1001 B
Bash
41 lines
1001 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
# Contributor from Arch: Evangelos Foutras <evangelos@foutrelis.com>
|
|
|
|
pkgname=libmemcached
|
|
pkgver=1.0.17
|
|
pkgrel=1
|
|
pkgdesc="C and C++ client library to the memcached server"
|
|
arch=('x86_64')
|
|
url="http://libmemcached.org/"
|
|
license=('GPL')
|
|
depends=('glibc' 'libsasl' 'libevent')
|
|
makedepends=('perl' 'memcached')
|
|
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
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
}
|