aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-07-09 08:49:49 -0400
committerAnthony G. Basile <blueness@gentoo.org>2012-07-09 08:49:49 -0400
commit8aa69f24d0186de716b71c8bb182cf74889d9c32 (patch)
tree2c3a49da6f6d1343fd9c93a2b2c76a02ffd1d5cf
parentapp-i18n/enca: fixed in tree, bug #424171 (diff)
downloadblueness-8aa69f24d0186de716b71c8bb182cf74889d9c32.tar.gz
blueness-8aa69f24d0186de716b71c8bb182cf74889d9c32.tar.bz2
blueness-8aa69f24d0186de716b71c8bb182cf74889d9c32.zip
app-admin/eselect-php: make multilib aware, bug #425486
(Portage version: 2.1.10.65/git/Linux x86_64, signed Manifest commit with key 0xD0455535)
-rw-r--r--app-admin/eselect-php/Manifest14
-rw-r--r--app-admin/eselect-php/eselect-php-0.6.6-r99.ebuild30
-rw-r--r--app-admin/eselect-php/files/multilib-aware.patch11
-rw-r--r--app-admin/eselect-php/metadata.xml8
4 files changed, 63 insertions, 0 deletions
diff --git a/app-admin/eselect-php/Manifest b/app-admin/eselect-php/Manifest
new file mode 100644
index 0000000..11034c1
--- /dev/null
+++ b/app-admin/eselect-php/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX multilib-aware.patch 415 RMD160 f02431597e2a57c3f3f0c4df061f7bb8a234b128 SHA1 51bffa4bc4c3a317d82659e1f488cc219a62e727 SHA256 e796ebd6bf0d38809547cbe55aee7791647ad37f031e37c18af109e14693b3ed
+DIST eselect-php-0.6.6.bz2 1837 RMD160 5791436581507309368a0e5fc8e65bf0cac47200 SHA1 0983970f68a30813406ada4fd2ef66400d37640c SHA256 7324d92086dad38942dfc053f2775af6f41f3e2f9d19472a7569e4f58aae0f86
+EBUILD eselect-php-0.6.6-r99.ebuild 804 RMD160 101cae3ba7db0d26dc6a7bb8e52bb8d27279ecf3 SHA1 35d064330e7f2182ff5a6b827397d39ae734f32f SHA256 45de45966dd93f543e1ade94b650a85a66ebf7d584eec1fc34b64162e6fa05b8
+MISC metadata.xml 225 RMD160 03f48452c16e65cdf05102de2eab665361ebb4df SHA1 77e9c935a5578173d3a99b0a8c2b6b34ba37bd7f SHA256 5e64117d8d9482bdc8c5e4fbebadd108ecfeeca5255b4987bef05a9d912aa464
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAk/6020ACgkQl5yvQNBFVTW+OQCeLKBVpw+M0/ox4QDMzyZ/OFbb
+AhsAn12cBM5b+6HR5idAIq8M+Lx8RdXr
+=2LG0
+-----END PGP SIGNATURE-----
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
new file mode 100644
index 0000000..d4950a8
--- /dev/null
+++ b/app-admin/eselect-php/eselect-php-0.6.6-r99.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+EAPI=3
+
+inherit eutils
+
+DESCRIPTION="PHP eselect module"
+HOMEPAGE="http://www.gentoo.org"
+SRC_URI="http://olemarkus.org/~olemarkus/gentoo/eselect-php-${PV}.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos"
+IUSE=""
+
+DEPEND=">=app-admin/eselect-1.2.4
+ !app-admin/php-toolkit"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/multilib-aware.patch
+}
+
+src_install() {
+ mv eselect-php-${PV} php.eselect
+ insinto /usr/share/eselect/modules/
+ doins php.eselect
+}
diff --git a/app-admin/eselect-php/files/multilib-aware.patch b/app-admin/eselect-php/files/multilib-aware.patch
new file mode 100644
index 0000000..bc8b463
--- /dev/null
+++ b/app-admin/eselect-php/files/multilib-aware.patch
@@ -0,0 +1,11 @@
+--- eselect-php-0.6.6.orig 2012-07-09 08:29:24.000000000 -0400
++++ eselect-php-0.6.6 2012-07-09 08:30:04.000000000 -0400
+@@ -33,7 +33,7 @@
+ get_libname() {
+ # probe on a well-known library
+ local lib ret=.so
+- for lib in "${EROOT}"/lib/libz.* ; do
++ for lib in "${EROOT}"$(get_active_libdir)/libz.* ; do
+ case "${lib##*/}" in
+ libz.a) ret=.a ;; # some platforms use .a as ext
+ libz.*.*) continue ;;
diff --git a/app-admin/eselect-php/metadata.xml b/app-admin/eselect-php/metadata.xml
new file mode 100644
index 0000000..fdc0d58
--- /dev/null
+++ b/app-admin/eselect-php/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>php</herd>
+ <longdescription lang="en">PHP eselect module
+ </longdescription>
+</pkgmetadata>
+