1 |
commit: 8aa69f24d0186de716b71c8bb182cf74889d9c32 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 9 12:49:49 2012 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 9 12:49:49 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=8aa69f24 |
7 |
|
8 |
app-admin/eselect-php: make multilib aware, bug #425486 |
9 |
|
10 |
(Portage version: 2.1.10.65/git/Linux x86_64, signed Manifest commit with key 0xD0455535) |
11 |
|
12 |
--- |
13 |
app-admin/eselect-php/Manifest | 14 +++++++++ |
14 |
app-admin/eselect-php/eselect-php-0.6.6-r99.ebuild | 30 ++++++++++++++++++++ |
15 |
app-admin/eselect-php/files/multilib-aware.patch | 11 +++++++ |
16 |
app-admin/eselect-php/metadata.xml | 8 +++++ |
17 |
4 files changed, 63 insertions(+), 0 deletions(-) |
18 |
|
19 |
diff --git a/app-admin/eselect-php/Manifest b/app-admin/eselect-php/Manifest |
20 |
new file mode 100644 |
21 |
index 0000000..11034c1 |
22 |
--- /dev/null |
23 |
+++ b/app-admin/eselect-php/Manifest |
24 |
@@ -0,0 +1,14 @@ |
25 |
+-----BEGIN PGP SIGNED MESSAGE----- |
26 |
+Hash: SHA256 |
27 |
+ |
28 |
+AUX multilib-aware.patch 415 RMD160 f02431597e2a57c3f3f0c4df061f7bb8a234b128 SHA1 51bffa4bc4c3a317d82659e1f488cc219a62e727 SHA256 e796ebd6bf0d38809547cbe55aee7791647ad37f031e37c18af109e14693b3ed |
29 |
+DIST eselect-php-0.6.6.bz2 1837 RMD160 5791436581507309368a0e5fc8e65bf0cac47200 SHA1 0983970f68a30813406ada4fd2ef66400d37640c SHA256 7324d92086dad38942dfc053f2775af6f41f3e2f9d19472a7569e4f58aae0f86 |
30 |
+EBUILD eselect-php-0.6.6-r99.ebuild 804 RMD160 101cae3ba7db0d26dc6a7bb8e52bb8d27279ecf3 SHA1 35d064330e7f2182ff5a6b827397d39ae734f32f SHA256 45de45966dd93f543e1ade94b650a85a66ebf7d584eec1fc34b64162e6fa05b8 |
31 |
+MISC metadata.xml 225 RMD160 03f48452c16e65cdf05102de2eab665361ebb4df SHA1 77e9c935a5578173d3a99b0a8c2b6b34ba37bd7f SHA256 5e64117d8d9482bdc8c5e4fbebadd108ecfeeca5255b4987bef05a9d912aa464 |
32 |
+-----BEGIN PGP SIGNATURE----- |
33 |
+Version: GnuPG v2.0.19 (GNU/Linux) |
34 |
+ |
35 |
+iEYEAREIAAYFAk/6020ACgkQl5yvQNBFVTW+OQCeLKBVpw+M0/ox4QDMzyZ/OFbb |
36 |
+AhsAn12cBM5b+6HR5idAIq8M+Lx8RdXr |
37 |
+=2LG0 |
38 |
+-----END PGP SIGNATURE----- |
39 |
|
40 |
diff --git a/app-admin/eselect-php/eselect-php-0.6.6-r99.ebuild b/app-admin/eselect-php/eselect-php-0.6.6-r99.ebuild |
41 |
new file mode 100644 |
42 |
index 0000000..d4950a8 |
43 |
--- /dev/null |
44 |
+++ b/app-admin/eselect-php/eselect-php-0.6.6-r99.ebuild |
45 |
@@ -0,0 +1,30 @@ |
46 |
+# Copyright 1999-2012 Gentoo Foundation |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-php/eselect-php-0.6.6.ebuild,v 1.4 2012/05/29 16:54:30 aballier Exp $ |
49 |
+ |
50 |
+EAPI=3 |
51 |
+ |
52 |
+inherit eutils |
53 |
+ |
54 |
+DESCRIPTION="PHP eselect module" |
55 |
+HOMEPAGE="http://www.gentoo.org" |
56 |
+SRC_URI="http://olemarkus.org/~olemarkus/gentoo/eselect-php-${PV}.bz2" |
57 |
+ |
58 |
+LICENSE="GPL-2" |
59 |
+SLOT="0" |
60 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos" |
61 |
+IUSE="" |
62 |
+ |
63 |
+DEPEND=">=app-admin/eselect-1.2.4 |
64 |
+ !app-admin/php-toolkit" |
65 |
+RDEPEND="${DEPEND}" |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ epatch "${FILESDIR}"/multilib-aware.patch |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ mv eselect-php-${PV} php.eselect |
73 |
+ insinto /usr/share/eselect/modules/ |
74 |
+ doins php.eselect |
75 |
+} |
76 |
|
77 |
diff --git a/app-admin/eselect-php/files/multilib-aware.patch b/app-admin/eselect-php/files/multilib-aware.patch |
78 |
new file mode 100644 |
79 |
index 0000000..bc8b463 |
80 |
--- /dev/null |
81 |
+++ b/app-admin/eselect-php/files/multilib-aware.patch |
82 |
@@ -0,0 +1,11 @@ |
83 |
+--- eselect-php-0.6.6.orig 2012-07-09 08:29:24.000000000 -0400 |
84 |
++++ eselect-php-0.6.6 2012-07-09 08:30:04.000000000 -0400 |
85 |
+@@ -33,7 +33,7 @@ |
86 |
+ get_libname() { |
87 |
+ # probe on a well-known library |
88 |
+ local lib ret=.so |
89 |
+- for lib in "${EROOT}"/lib/libz.* ; do |
90 |
++ for lib in "${EROOT}"$(get_active_libdir)/libz.* ; do |
91 |
+ case "${lib##*/}" in |
92 |
+ libz.a) ret=.a ;; # some platforms use .a as ext |
93 |
+ libz.*.*) continue ;; |
94 |
|
95 |
diff --git a/app-admin/eselect-php/metadata.xml b/app-admin/eselect-php/metadata.xml |
96 |
new file mode 100644 |
97 |
index 0000000..fdc0d58 |
98 |
--- /dev/null |
99 |
+++ b/app-admin/eselect-php/metadata.xml |
100 |
@@ -0,0 +1,8 @@ |
101 |
+<?xml version="1.0" encoding="UTF-8"?> |
102 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
103 |
+<pkgmetadata> |
104 |
+ <herd>php</herd> |
105 |
+ <longdescription lang="en">PHP eselect module |
106 |
+ </longdescription> |
107 |
+</pkgmetadata> |
108 |
+ |