summaryrefslogtreecommitdiff
blob: 8de9819beeb7b21628515a2713a16c55f828c84e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/memcached-api-php/memcached-api-php-1.0.7.ebuild,v 1.2 2003/09/06 22:29:25 msterret Exp $

DESCRIPTION="PHP API for memcached"

HOMEPAGE="http://www.danga.com/memcached/"
SRC_URI="http://www.danga.com/memcached/dist/php-memcached-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=net-www/memcached-1.1.7"

#This RDEPEND is debatable.  It might not even be necessary or wanted
#But to *run* this you need a PHP interpretter. -lisa (29 jul 03)
RDEPEND="virtual/php"

S=${WORKDIR}/${P}


#where we're sending the API
APIDEST="/usr/lib/php/memcached"


src_compile() {
	#there's nothing to compile
	return
}

src_install() {
	#Just a file to mv. cool, huh?
	insinto ${APIDEST}
	doins ${S}/MemCachedClient.inc.php
	einfo "The PHP API is installed to ${APIDEST}/MemCachedClient.inc.php"
	einfo "You may want to edit your php.ini to include_path that directory"
}