summaryrefslogtreecommitdiff
blob: 687e1e7e148336d103e5178c0eb2a7f44f7180a9 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/horde-pear/horde-pear-1.3-r2.ebuild,v 1.1 2005/02/15 08:14:57 sebastian Exp $

inherit horde

DESCRIPTION="Horde Application Framework PHP PEAR files"
HOMEPAGE="http://www.horde.org/"

KEYWORDS="x86 ppc sparc alpha hppa amd64"

DEPEND=""
RDEPEND=">=dev-php/mod_php-4.1.0
	>=sys-devel/gettext-0.10.40
	>=dev-libs/libxml2-2.4.21-r1"

S=${WORKDIR}/${HORDE_PN}

pkg_setup() { :;}

src_unpack() {
	unpack ${A}
	sed -i 's:/home/jan/pear_root/share/pear:/usr/lib/php:g' ${S}/pearcmd.php || die
	sed -i 's:temperture:temperature:g' ${S}/Services/Weather/Weatherdotcom.php || die #79684
}

src_install() {
	dodir /usr/lib
	cp -a ${S} ${D}/usr/lib/php
	rm ${D}/usr/lib/php/PEAR/Downloader.php #54610
}

pkg_postinst() { :;}