dev-php/PEAR-Translation2: Revbump for EAPI and eclass updates
authorBrian Evans <grknight@gentoo.org>
Wed, 5 Jul 2017 15:29:43 +0000 (11:29 -0400)
committerBrian Evans <grknight@gentoo.org>
Wed, 5 Jul 2017 15:32:50 +0000 (11:32 -0400)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

dev-php/PEAR-Translation2/PEAR-Translation2-2.0.4-r1.ebuild [new file with mode: 0644]

diff --git a/dev-php/PEAR-Translation2/PEAR-Translation2-2.0.4-r1.ebuild b/dev-php/PEAR-Translation2/PEAR-Translation2-2.0.4-r1.ebuild
new file mode 100644 (file)
index 0000000..45e54b9
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit php-pear-r2
+
+DESCRIPTION="Class for multilingual applications management"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="examples minimal xml"
+
+RDEPEND="dev-lang/php:*[nls]
+       !minimal? ( dev-php/PEAR-Cache_Lite
+                       dev-php/PEAR-DB
+                       dev-php/PEAR-DB_DataObject
+                       dev-php/PEAR-MDB
+                       dev-php/PEAR-MDB2
+                       dev-php/PEAR-File_Gettext
+                       >=dev-php/PEAR-I18Nv2-0.9.1 )
+       xml? ( >=dev-php/PEAR-XML_Serializer-0.13.0 )"
+
+src_install() {
+       local DOCS=( docs/gettext_readme.txt )
+       php-pear-r2_src_install
+       use examples && dodoc -r docs/examples
+       # Fix this for PHP5
+       # dobin scripts/t2xmlchk.php
+}