summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2010-11-04 13:25:35 +0000
committerMatti Bickel <mabi@gentoo.org>2010-11-04 13:25:35 +0000
commit18e337b7ffcf8ab763c976b6ab98f9673cc77134 (patch)
tree1061a0210f2ff05f5005809b3ce173e250e6aca4 /dev-php5/pecl-haru
parentx86 stable, bug 341865 (diff)
downloadgentoo-2-18e337b7ffcf8ab763c976b6ab98f9673cc77134.tar.gz
gentoo-2-18e337b7ffcf8ab763c976b6ab98f9673cc77134.tar.bz2
gentoo-2-18e337b7ffcf8ab763c976b6ab98f9673cc77134.zip
add version that supports minor version slotting
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-php5/pecl-haru')
-rw-r--r--dev-php5/pecl-haru/ChangeLog7
-rw-r--r--dev-php5/pecl-haru/pecl-haru-1.0.0-r1.ebuild28
2 files changed, 34 insertions, 1 deletions
diff --git a/dev-php5/pecl-haru/ChangeLog b/dev-php5/pecl-haru/ChangeLog
index 1db8eb1cd094..e97a4f01606d 100644
--- a/dev-php5/pecl-haru/ChangeLog
+++ b/dev-php5/pecl-haru/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-php5/pecl-haru
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-haru/ChangeLog,v 1.1 2010/09/26 18:22:35 olemarkus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-haru/ChangeLog,v 1.2 2010/11/04 13:25:35 mabi Exp $
+
+*pecl-haru-1.0.0-r1 (04 Nov 2010)
+
+ 04 Nov 2010; Matti Bickel <mabi@gentoo.org> +pecl-haru-1.0.0-r1.ebuild:
+ add version that supports minor version slotting
*pecl-haru-1.0.0 (26 Sep 2010)
diff --git a/dev-php5/pecl-haru/pecl-haru-1.0.0-r1.ebuild b/dev-php5/pecl-haru/pecl-haru-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..5869b03e7e25
--- /dev/null
+++ b/dev-php5/pecl-haru/pecl-haru-1.0.0-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-haru/pecl-haru-1.0.0-r1.ebuild,v 1.1 2010/11/04 13:25:35 mabi Exp $
+
+EAPI=3
+
+PHP_EXT_NAME="haru"
+
+inherit php-ext-pecl-r2
+
+DESCRIPTION="An interface to libharu, a PDF generator"
+
+LICENSE="PHP-3.01"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="png zlib"
+
+DEPEND="media-libs/libharu[png?,zlib?]"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ # config.m4 is broken checking paths, so we need to override it
+ my_conf="--with-haru=/usr"
+ use png && my_conf+=" --with-png-dir=/usr"
+ use zlib && my_conf+=" --with-zlib-dir=/usr"
+
+ php-ext-source-r2_src_configure
+}