summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-07-31 15:50:25 -0400
committerBrian Evans <grknight@gentoo.org>2017-07-31 15:50:25 -0400
commit606ed45b320ae640edb4f60ab80de316f456d310 (patch)
treeebd2e3c8a42dca6253cea71b55534a405e26df97 /dev-php/PEAR-DB_DataObject
parentdev-php/PEAR-Net_IPv6: Drop old (diff)
downloadgentoo-606ed45b320ae640edb4f60ab80de316f456d310.tar.gz
gentoo-606ed45b320ae640edb4f60ab80de316f456d310.tar.bz2
gentoo-606ed45b320ae640edb4f60ab80de316f456d310.zip
dev-php/PEAR-DB_DataObject: Revbump for new eclass
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-php/PEAR-DB_DataObject')
-rw-r--r--dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.11.5-r1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.11.5-r1.ebuild b/dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.11.5-r1.ebuild
new file mode 100644
index 000000000000..aa8425ee51f0
--- /dev/null
+++ b/dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.11.5-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit php-pear-r2
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="SQL builder and data modeling layer"
+LICENSE="PHP-3.01"
+SLOT="0"
+IUSE="minimal"
+
+# The MDB2/DB dependencies are listed as "optional," but really, you
+# need one or the other. Prefer the newer MDB2 to the deprecated DB.
+DEPEND=""
+RDEPEND="|| ( dev-php/PEAR-MDB2 dev-php/PEAR-DB )
+ dev-php/PEAR-Date
+ !minimal? ( dev-php/PEAR-Validate )"
+DOCS=( docs/example.ini )
+
+src_prepare() {
+ # Don't install this batch file -- it winds up in ${EPREFIX}/usr/bin.
+ # Delete the line that mentions it from package.xml.
+ sed -e '/DB_DataObject_createTables\.bat/d' \
+ -i "${WORKDIR}/package.xml" \
+ || die "failed to remove batch file from package.xml"
+
+ eapply_user
+}