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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Nov 8 00:22:36 2005 UTC (13 years, 10 months ago) by lisa
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove the OLD RC1 for 1.1.12 and bump 1.1.12 to stable on x86 (i think seven months is enough testing). Other arches please test and bump as needed.
(Portage version: 2.0.53_rc7)

1 # Copyright 1999-2005 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_rc1.ebuild,v 1.2 2005/01/21 16:27:57 voxus Exp $
4
5
6 PATCHLEVEL="1.1.12"
7
8 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."
9
10 HOMEPAGE="http://www.danga.com/memcached/"
11
12 MY_PV="${PV/_rc/-rc}"
13 S="${WORKDIR}/${PN}-${MY_PV}"
14 SRC_URI="http://www.danga.com/memcached/dist/testing/memcached-${MY_PV}.tar.gz"
15
16 LICENSE="BSD"
17
18 SLOT="0"
19 KEYWORDS="~x86 ~amd64 ~ppc"
20 IUSE="static perl php"
21
22 DEPEND=">=dev-libs/libevent-0.6
23 perl? ( dev-perl/Cache-Memcached )
24 php? ( dev-libs/memcached-api-php )"
25
26 src_compile() {
27 einfo $S
28 local myconf=""
29 use static || myconf="--disable-static ${myconf}"
30 econf ${myconf} || die "econf failed"
31 emake || die
32 }
33
34 src_install() {
35 dobin ${S}/memcached
36 dodoc ${S}/{AUTHORS,COPYING,ChangeLog,INSTALL,NEWS,README}
37
38 insinto /etc/conf.d
39 newins "${FILESDIR}/${PATCHLEVEL}/conf" memcached
40
41 exeinto /etc/init.d
42 newexe "${FILESDIR}/${PATCHLEVEL}/init" memcached
43 }
44
45 pkg_postinst() {
46 if ! use php; then
47 ewarn "This package uses a special \"php\" USE flag to include the PHP"
48 ewarn "API. If you emerged this without setting that USE flag, you can"
49 ewarn "still get the API by doing:"
50 einfo " emerge dev-libs/memcached-api-php"
51 echo
52 fi
53 }

  ViewVC Help
Powered by ViewVC 1.1.20