summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2005-09-04 16:29:32 +0000
committerStuart Herbert <stuart@gentoo.org>2005-09-04 16:29:32 +0000
commitb69873e83528fc8d57132a112cebfaa59c4514cf (patch)
tree04d388fedb64d020afe1f8701aaa4f9adac9607b /dev-php5/pecl-imagick/pecl-imagick-0.9.11.ebuild
parentAdded graphicsmagick for dev-php5/pecl-imagick package (diff)
downloadgentoo-2-b69873e83528fc8d57132a112cebfaa59c4514cf.tar.gz
gentoo-2-b69873e83528fc8d57132a112cebfaa59c4514cf.tar.bz2
gentoo-2-b69873e83528fc8d57132a112cebfaa59c4514cf.zip
Initial import for PHP5
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-php5/pecl-imagick/pecl-imagick-0.9.11.ebuild')
-rw-r--r--dev-php5/pecl-imagick/pecl-imagick-0.9.11.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-php5/pecl-imagick/pecl-imagick-0.9.11.ebuild b/dev-php5/pecl-imagick/pecl-imagick-0.9.11.ebuild
new file mode 100644
index 000000000000..3027dc2bb127
--- /dev/null
+++ b/dev-php5/pecl-imagick/pecl-imagick-0.9.11.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-imagick/pecl-imagick-0.9.11.ebuild,v 1.1 2005/09/04 16:27:29 stuart Exp $
+
+PHP_EXT_ZENDEXT="no"
+PHP_EXT_INI="yes"
+
+inherit php-ext-pecl-r1
+
+IUSE="graphicsmagick"
+DESCRIPTION="PHP wrapper for the ImageMagick library."
+HOMEPAGE="http://pecl.php.net/imagick"
+SLOT="0"
+LICENSE="PHP"
+KEYWORDS="~ppc ~x86"
+
+DEPEND="${DEPEND}
+ !graphicsmagick? >=media-gfx/imagemagick-6.2.0
+ graphicsmagick? >=media-gfx/graphicsmagick-1.0.0"
+
+need_php_by_category
+
+src_compile () {
+ my_conf="--with-imagick"
+ use graphicsmagick && my_conf="${my_conf} --with-imagick-gm"
+ php-ext-pecl-r1_src_compile
+}
+
+src_install() {
+ php-ext-pecl-r1_src_install
+ dodoc CREDITS INSTALL
+}