summaryrefslogtreecommitdiff
blob: 999ffbdcd7bf8ddcbd74c20f52c9574c83f3dc6c (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Authore: Tom von Schwerdtner <tvon@etria.org>
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-XML_XPath/PEAR-XML_XPath-1.2.ebuild,v 1.5 2004/04/17 15:02:28 aliz Exp $

MY_P=${PN/PEAR-//}-${PV}
DESCRIPTION="The PEAR::XML_XPath class provided an XPath/DOM XML manipulation, maneuvering and query interface"
HOMEPAGE="http://pear.php.net/package-info.php?pacid=65"
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"
IUSE=""
S=${WORKDIR}/${MY_P}

src_install () {
	insinto /usr/lib/php/XML
	doins XPath.php
	insinto /usr/lib/php/XML/XPath/
	doins XPath/*
}

pkg_postinst () {
	einfo
	einfo "NOTE: This package requires the domxml extension."
	einfo "To enable domxml, add xml2 to your USE settings"
	einfo "and re-merge php."
	einfo
}