summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2010-11-04 12:02:21 +0000
committerMatti Bickel <mabi@gentoo.org>2010-11-04 12:02:21 +0000
commitb2b8dbdadfeae33f5ddce8bf5b6c47db523c837d (patch)
tree3e5df4af4869b76d9f8e7d52f1179b6c3ad91658 /dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.4-r2.ebuild
parentdo not block versions of pecl-fileinfo supporting minor version slotting (diff)
downloadhistorical-b2b8dbdadfeae33f5ddce8bf5b6c47db523c837d.tar.gz
historical-b2b8dbdadfeae33f5ddce8bf5b6c47db523c837d.tar.bz2
historical-b2b8dbdadfeae33f5ddce8bf5b6c47db523c837d.zip
add version that supports minor version slotting
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.4-r2.ebuild')
-rw-r--r--dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.4-r2.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.4-r2.ebuild b/dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.4-r2.ebuild
new file mode 100644
index 000000000000..1823e294792c
--- /dev/null
+++ b/dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.4-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.4-r2.ebuild,v 1.1 2010/11/04 12:02:21 mabi Exp $
+
+EAPI="3"
+
+PHP_EXT_NAME="fileinfo"
+PHP_EXT_PECL_PKG="Fileinfo"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+inherit php-ext-pecl-r2
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="libmagic bindings for PHP."
+LICENSE="PHP-3"
+SLOT="0"
+IUSE=""
+
+DEPEND="sys-apps/file"
+RDEPEND="${DEPEND}"
+
+# fileinfo is bundled with php5.3
+USE_PHP="php5-2"
+
+src_prepare() {
+ for slot in $(php_get_slots) ; do
+ cd "${WORKDIR}/${slot}"
+ epatch "${FILESDIR}"/fileinfo-1.0.4-file-5.0-compat.patch
+ done
+ php-ext-source-r2_src_prepare
+}