summaryrefslogtreecommitdiff
blob: 5d17d92d23ea60a38bfeb8c89ff8e043150dbffe (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Cache/PEAR-Cache-1.5.1.ebuild,v 1.6 2004/01/10 00:26:18 coredumb Exp $

MY_P=${PN/PEAR-//}-${PV}
DESCRIPTION="Framework for caching of arbitrary data."
HOMEPAGE="http://pear.php.net/package-info.php?pacid=40"
SRC_URI="http://pear.php.net/get/${MY_P}.tgz"
LICENSE="PHP"
SLOT="0"
# Afaik, anything that runs php will run this...
KEYWORDS="x86 ppc sparc"
DEPEND="virtual/php"

S=${WORKDIR}/${MY_P}

src_install () {
	insinto /usr/lib/php/
	doins Cache.php
	insinto /usr/lib/php/Cache/
	# I dont know why the tarball isnt packaged the way it is supposed to be installed, but.....
	doins Application.php Container.php DB.php Error.php Function.php Graphics.php HTTP_Request.php Output.php OutputCompression.php
	insinto /usr/lib/php/Cache/Container/
	doins Container/*

}