From 8e8b7bfcafde2e488721f9a84ceb3c45fc1bc032 Mon Sep 17 00:00:00 2001 From: Ole Markus With Date: Sun, 26 Sep 2010 18:22:35 +0000 Subject: Added dev-php5/pecl-haru (bug #249443) (Portage version: 2.1.8.3/cvs/Linux i686) --- dev-php5/pecl-haru/ChangeLog | 10 +++++++++ dev-php5/pecl-haru/metadata.xml | 9 ++++++++ dev-php5/pecl-haru/pecl-haru-1.0.0.ebuild | 34 +++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 dev-php5/pecl-haru/ChangeLog create mode 100644 dev-php5/pecl-haru/metadata.xml create mode 100644 dev-php5/pecl-haru/pecl-haru-1.0.0.ebuild (limited to 'dev-php5/pecl-haru') diff --git a/dev-php5/pecl-haru/ChangeLog b/dev-php5/pecl-haru/ChangeLog new file mode 100644 index 000000000000..1db8eb1cd094 --- /dev/null +++ b/dev-php5/pecl-haru/ChangeLog @@ -0,0 +1,10 @@ +# 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 $ + +*pecl-haru-1.0.0 (26 Sep 2010) + + 26 Sep 2010; +pecl-haru-1.0.0.ebuild, + +metadata.xml: + Added pecl-haru (bug #249443) + diff --git a/dev-php5/pecl-haru/metadata.xml b/dev-php5/pecl-haru/metadata.xml new file mode 100644 index 000000000000..0c93320ef0b0 --- /dev/null +++ b/dev-php5/pecl-haru/metadata.xml @@ -0,0 +1,9 @@ + + + + php + These functions allow you to create PDF documents + using the Haru Free PDF Library. + + + diff --git a/dev-php5/pecl-haru/pecl-haru-1.0.0.ebuild b/dev-php5/pecl-haru/pecl-haru-1.0.0.ebuild new file mode 100644 index 000000000000..b3b0850c97a4 --- /dev/null +++ b/dev-php5/pecl-haru/pecl-haru-1.0.0.ebuild @@ -0,0 +1,34 @@ +# 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.ebuild,v 1.1 2010/09/26 18:22:35 olemarkus Exp $ + +EAPI=3 + +PHP_EXT_NAME="haru" + +inherit php-ext-pecl-r1 + +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}" + +need_php_by_category + +src_configure() { + true # php-ext-*-r1 doesn't really support EAPI=3 +} + +src_compile() { + # 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-r1_src_compile +} -- cgit v1.2.3-65-gdbad