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

Contents of /net-misc/memcached/memcached-1.1.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Aug 22 22:35:53 2004 UTC (15 years, 3 months ago) by lisa
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
bump to arch, do some cleanup. can non-x86 and non-ppc arches test please?

1 # Copyright 1999-2004 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.10.ebuild,v 1.2 2004/07/15 03:03:36 agriffis Exp $
4
5 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."
6
7 HOMEPAGE="http://www.danga.com/memcached/"
8
9 SRC_URI="http://www.danga.com/memcached/dist/${P}.tar.gz"
10
11 LICENSE="BSD"
12
13 SLOT="0"
14
15 KEYWORDS="~x86"
16
17 IUSE="static perl php"
18
19 DEPEND=">=dev-libs/libevent-0.6
20 perl? ( dev-libs/memcached-api-perl )
21 php? ( dev-libs/memcached-api-php )
22 "
23
24 #RDEPEND=""
25
26 src_compile() {
27 local myconf=""
28 use static || myconf="--disable-static ${myconf} "
29 econf ${myconf} || die "econf failed"
30 emake || die
31 }
32
33 src_install() {
34 dobin ${S}/memcached
35 dodoc ${S}/{AUTHORS,COPYING,ChangeLog,INSTALL,NEWS,README}
36
37 insinto /etc/conf.d
38 newins "${FILESDIR}/conf" memcached
39
40 exeinto /etc/init.d
41 newexe "${FILESDIR}/init" memcached
42 }
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 ewarn "Do not forget to run etc-update, there are new config and init scripts!"
54 }

  ViewVC Help
Powered by ViewVC 1.1.20