/[gentoo-x86]/net-misc/memcached/memcached-1.1.12-r2.ebuild
Gentoo

Contents of /net-misc/memcached/memcached-1.1.12-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Sat Dec 31 20:36:19 2011 UTC (7 years, 11 months ago) by idl0r
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
Revbump. Don't use deprecated start-stop-daemon options, bug 377311.

(Portage version: 2.1.10.41/cvs/Linux i686, RepoMan options: --force)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/memcached-1.1.12-r2.ebuild,v 1.10 2007/11/18 15:03:03 robbat2 Exp $
4
5 inherit eutils
6
7 DESCRIPTION="memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load."
8
9 HOMEPAGE="http://www.danga.com/memcached/"
10
11 SRC_URI="http://www.danga.com/memcached/dist/${P}.tar.gz"
12
13 LICENSE="BSD"
14
15 SLOT="0"
16 KEYWORDS="amd64 arm ~hppa ia64 ~mips ppc ppc64 sh sparc x86"
17 IUSE="static perl doc"
18
19 DEPEND=">=dev-libs/libevent-0.6
20 perl? ( dev-perl/Cache-Memcached )"
21
22 src_compile() {
23 local myconf=""
24 use static || myconf="--disable-static ${myconf}"
25 econf ${myconf} || die "econf failed"
26 emake || die
27 }
28
29 src_install() {
30 dobin "${S}"/memcached
31 dodoc "${S}"/{AUTHORS,COPYING,ChangeLog,INSTALL,NEWS,README}
32
33 newconfd "${FILESDIR}/${PV}/conf" memcached
34
35 newinitd "${FILESDIR}/${PV}/init" memcached
36
37 doman "${S}"/doc/memcached.1
38
39 if use doc; then
40 dodoc "${S}"/doc/{memory_management.txt,protocol.txt}
41 fi
42 }
43
44 pkg_postinst() {
45 enewuser memcached -1 -1 /dev/null daemon
46 }

  ViewVC Help
Powered by ViewVC 1.1.20