DIST XML_Util-1.3.0.tgz 17186 SHA256 1396dbf975ae7235ec4131c40d772a3958d6086c34ea985a03e988e241c0892e SHA512 751af0c2329bee53b6b374fc613ed8c388ace6b9d5246f7ecade0e74e5f41101bd14727e1bcd566d850aea5b336981daac92d6adb8d66dbe7425990460ef0633 WHIRLPOOL d5dbbe9bcca96fdf11d009ea93c94b0eb3b2b332ad13ac23a8365a8e384d24b3da9e314fa56bd68c4b987d23a6a323772963f62390494b80f4be48a40d897195
+DIST XML_Util-1.4.2.tgz 18993 SHA256 f6b5b180dbdd7ae24504007d83cf482d6105747ed4381019bdf3a61b78610239 SHA512 e0a328f92cdcd09277238e14d68b73cba319ab9b4e9c50ab102b43f73c889599f5933415dc228bd1feb56a48c1527e0e9a86999ee2209b2d84131691aee74cbe WHIRLPOOL 263788abc1093b736f6db7b7e19b8c72c7fdce3e2d1fd1a3f8747198d9fa60217869e7a5e18d4aea6878e016aaf8306276c59764ff23f07aa85888e60d493315
DESCRIPTION="XML utility class"
HOMEPAGE="http://pear.php.net/package/${MY_PN}"
SRC_URI="http://pear.php.net/get/${MY_P}.tgz"
-LICENSE="PHP-2.02"
+LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
IUSE="examples"
--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_PN="${PN/PEAR-/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="XML utility class"
+HOMEPAGE="http://pear.php.net/package/${MY_PN}"
+SRC_URI="http://pear.php.net/get/${MY_P}.tgz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="examples"
+
+# PCRE is needed for a few calls to preg_replace and preg_match.
+RDEPEND="dev-lang/php:*[pcre(+)]"
+PDEPEND="dev-php/PEAR-PEAR"
+DEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ insinto /usr/share/php
+ doins -r XML
+
+ use examples && dodoc -r examples
+}