1 |
commit: 606ed45b320ae640edb4f60ab80de316f456d310 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 31 19:50:25 2017 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 31 19:50:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=606ed45b |
7 |
|
8 |
dev-php/PEAR-DB_DataObject: Revbump for new eclass |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
.../PEAR-DB_DataObject-1.11.5-r1.ebuild | 31 ++++++++++++++++++++++ |
13 |
1 file changed, 31 insertions(+) |
14 |
|
15 |
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 |
16 |
new file mode 100644 |
17 |
index 00000000000..aa8425ee51f |
18 |
--- /dev/null |
19 |
+++ b/dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.11.5-r1.ebuild |
20 |
@@ -0,0 +1,31 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+inherit php-pear-r2 |
27 |
+ |
28 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
29 |
+ |
30 |
+DESCRIPTION="SQL builder and data modeling layer" |
31 |
+LICENSE="PHP-3.01" |
32 |
+SLOT="0" |
33 |
+IUSE="minimal" |
34 |
+ |
35 |
+# The MDB2/DB dependencies are listed as "optional," but really, you |
36 |
+# need one or the other. Prefer the newer MDB2 to the deprecated DB. |
37 |
+DEPEND="" |
38 |
+RDEPEND="|| ( dev-php/PEAR-MDB2 dev-php/PEAR-DB ) |
39 |
+ dev-php/PEAR-Date |
40 |
+ !minimal? ( dev-php/PEAR-Validate )" |
41 |
+DOCS=( docs/example.ini ) |
42 |
+ |
43 |
+src_prepare() { |
44 |
+ # Don't install this batch file -- it winds up in ${EPREFIX}/usr/bin. |
45 |
+ # Delete the line that mentions it from package.xml. |
46 |
+ sed -e '/DB_DataObject_createTables\.bat/d' \ |
47 |
+ -i "${WORKDIR}/package.xml" \ |
48 |
+ || die "failed to remove batch file from package.xml" |
49 |
+ |
50 |
+ eapply_user |
51 |
+} |