mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
32 lines
878 B
Bash
32 lines
878 B
Bash
# Maintainer: Dan McGee <dan@archlinux.org>
|
|
# Contributor: Michael Irwin <6d6469@gmail.com>
|
|
|
|
pkgname=memcached
|
|
pkgver=1.4.1
|
|
pkgrel=1
|
|
pkgdesc="A distributed memory object caching system"
|
|
arch=(i686 x86_64)
|
|
url="http://www.danga.com/memcached/"
|
|
license=('GPL')
|
|
depends=('libevent')
|
|
backup=('etc/conf.d/memcached')
|
|
source=(http://memcached.googlecode.com/files/$pkgname-$pkgver.tar.gz
|
|
memcached.conf
|
|
memcached.sh)
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
|
|
make || return 1
|
|
|
|
make DESTDIR=$startdir/pkg install || return 1
|
|
install -D -m 644 $startdir/src/$pkgname.conf \
|
|
$startdir/pkg/etc/conf.d/$pkgname
|
|
install -D -m 755 $startdir/src/$pkgname.sh \
|
|
$startdir/pkg/etc/rc.d/$pkgname
|
|
}
|
|
|
|
md5sums=('fb1b7e9fcf47b95c5ad3bbeb76342088'
|
|
'bf15619930dadf0c08669566e4aa809c'
|
|
'65f88b69cf3112b178725af121327765')
|