1 |
commit: b276310aa80bd3d798aca15cf893368e1006819a |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 7 15:25:27 2017 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 7 15:25:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b276310a |
7 |
|
8 |
dev-php/pecl-dbase: New package wrt bug 418353 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-php/pecl-dbase/Manifest | 2 ++ |
13 |
dev-php/pecl-dbase/metadata.xml | 8 +++++ |
14 |
dev-php/pecl-dbase/pecl-dbase-5.1.1.ebuild | 44 ++++++++++++++++++++++++ |
15 |
dev-php/pecl-dbase/pecl-dbase-7.0.0_beta1.ebuild | 44 ++++++++++++++++++++++++ |
16 |
4 files changed, 98 insertions(+) |
17 |
|
18 |
diff --git a/dev-php/pecl-dbase/Manifest b/dev-php/pecl-dbase/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..bc40edee62a |
21 |
--- /dev/null |
22 |
+++ b/dev-php/pecl-dbase/Manifest |
23 |
@@ -0,0 +1,2 @@ |
24 |
+DIST dbase-5.1.1.tgz 20751 SHA256 4474be791b302dc3ba34dc4f96cde626f81deb36a4d88dff5605bfbda8691439 SHA512 52dac3e253f88de898c43864e8aff62990b33eb770fb27534bd25896c3eb330ca05e0205a1f387296637e553cf6de16a3f7b3eff082e1403a56c60decfbce33f WHIRLPOOL f91bf2a4d47bf43a589255b179cca8872a81ac94975812328af7a00776256b5c1df957430f04c38b1000a8c224a9a3166b8d20f4b3e272c84ffad19126461f55 |
25 |
+DIST dbase-7.0.0beta1.tgz 16206 SHA256 bc84abddf2fe2e7121b3736bced9bcd30ed5d567ad1c917c26876c240cefbbf1 SHA512 623222e826509fa9b3f65353a66479fe4a5924de1b6dd4e73c106f2179f8af59740c758cf90ed8d0e9c61c31a7e5bef434cd858cde074f983b1dda69927442af WHIRLPOOL 4651e3742fa98b784e1d7efcae50348ee08a852e32be181e870787193dd4cc849cca628e8c10d199a577573b81e6ae582a0977ddcb7db2316ae2c0292549ff87 |
26 |
|
27 |
diff --git a/dev-php/pecl-dbase/metadata.xml b/dev-php/pecl-dbase/metadata.xml |
28 |
new file mode 100644 |
29 |
index 00000000000..b86acf66c75 |
30 |
--- /dev/null |
31 |
+++ b/dev-php/pecl-dbase/metadata.xml |
32 |
@@ -0,0 +1,8 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="project"> |
37 |
+ <email>php-bugs@g.o</email> |
38 |
+ <name>PHP</name> |
39 |
+ </maintainer> |
40 |
+</pkgmetadata> |
41 |
|
42 |
diff --git a/dev-php/pecl-dbase/pecl-dbase-5.1.1.ebuild b/dev-php/pecl-dbase/pecl-dbase-5.1.1.ebuild |
43 |
new file mode 100644 |
44 |
index 00000000000..03186ce8a0b |
45 |
--- /dev/null |
46 |
+++ b/dev-php/pecl-dbase/pecl-dbase-5.1.1.ebuild |
47 |
@@ -0,0 +1,44 @@ |
48 |
+# Copyright 1999-2017 Gentoo Foundation |
49 |
+# Distributed under the terms of the GNU General Public License v2 |
50 |
+ |
51 |
+EAPI=6 |
52 |
+ |
53 |
+USE_PHP="php5-6 php7-0 php7-1" |
54 |
+ |
55 |
+inherit php-ext-pecl-r3 |
56 |
+ |
57 |
+USE_PHP="php5-6" |
58 |
+ |
59 |
+KEYWORDS="~amd64 ~x86" |
60 |
+ |
61 |
+DESCRIPTION="dBase database file access functions" |
62 |
+LICENSE="PHP-3.01" |
63 |
+SLOT="0" |
64 |
+IUSE="" |
65 |
+ |
66 |
+DEPEND="" |
67 |
+PDEPEND=" |
68 |
+php_targets_php7-0? ( dev-php/pecl-dbase:7[php_targets_php7-0] ) |
69 |
+php_targets_php7-1? ( dev-php/pecl-dbase:7[php_targets_php7-1] ) |
70 |
+" |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ if use php_targets_php5-6 ; then |
74 |
+ php-ext-source-r3_src_prepare |
75 |
+ else |
76 |
+ eapply_user |
77 |
+ fi |
78 |
+} |
79 |
+ |
80 |
+src_configure() { |
81 |
+ if use php_targets_php5-6 ; then |
82 |
+ local PHP_EXT_ECONF_ARGS=( ) |
83 |
+ php-ext-source-r3_src_configure |
84 |
+ fi |
85 |
+} |
86 |
+ |
87 |
+src_install() { |
88 |
+ if use php_targets_php5-6 ; then |
89 |
+ php-ext-pecl-r3_src_install |
90 |
+ fi |
91 |
+} |
92 |
|
93 |
diff --git a/dev-php/pecl-dbase/pecl-dbase-7.0.0_beta1.ebuild b/dev-php/pecl-dbase/pecl-dbase-7.0.0_beta1.ebuild |
94 |
new file mode 100644 |
95 |
index 00000000000..f0480a3595b |
96 |
--- /dev/null |
97 |
+++ b/dev-php/pecl-dbase/pecl-dbase-7.0.0_beta1.ebuild |
98 |
@@ -0,0 +1,44 @@ |
99 |
+# Copyright 1999-2017 Gentoo Foundation |
100 |
+# Distributed under the terms of the GNU General Public License v2 |
101 |
+ |
102 |
+EAPI=6 |
103 |
+ |
104 |
+# Define 5.6 here so we get the USE and REQUIRED_USE from the eclass |
105 |
+# This allows us to depend on the other slot |
106 |
+USE_PHP="php5-6 php7-0 php7-1" |
107 |
+ |
108 |
+inherit php-ext-pecl-r3 |
109 |
+ |
110 |
+# However, we only really build for 7.x; so redefine it here |
111 |
+USE_PHP="php7-0 php7-1" |
112 |
+ |
113 |
+KEYWORDS="~amd64 ~x86" |
114 |
+ |
115 |
+DESCRIPTION="dBase database file access functions" |
116 |
+LICENSE="PHP-3.01" |
117 |
+SLOT="7" |
118 |
+IUSE="" |
119 |
+ |
120 |
+DEPEND="" |
121 |
+RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-dbase:0[php_targets_php5-6] )" |
122 |
+ |
123 |
+src_prepare() { |
124 |
+ if use php_targets_php7-0 || use php_targets_php7-1 ; then |
125 |
+ php-ext-source-r3_src_prepare |
126 |
+ else |
127 |
+ eapply_user |
128 |
+ fi |
129 |
+} |
130 |
+ |
131 |
+src_configure() { |
132 |
+ if use php_targets_php7-0 || use php_targets_php7-1 ; then |
133 |
+ local PHP_EXT_ECONF_ARGS=( ) |
134 |
+ php-ext-source-r3_src_configure |
135 |
+ fi |
136 |
+} |
137 |
+ |
138 |
+src_install() { |
139 |
+ if use php_targets_php7-0 || use php_targets_php7-1 ; then |
140 |
+ php-ext-pecl-r3_src_install |
141 |
+ fi |
142 |
+} |