diff options
Diffstat (limited to 'dev-php/pecl-haru')
-rw-r--r-- | dev-php/pecl-haru/Manifest | 5 | ||||
-rw-r--r-- | dev-php/pecl-haru/metadata.xml | 11 | ||||
-rw-r--r-- | dev-php/pecl-haru/pecl-haru-1.0.4-r2.ebuild | 28 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-php/pecl-haru/Manifest b/dev-php/pecl-haru/Manifest new file mode 100644 index 000000000000..c4338909837e --- /dev/null +++ b/dev-php/pecl-haru/Manifest @@ -0,0 +1,5 @@ +DIST haru-1.0.4.tgz 27538 SHA256 ab35e25521b486cc35a645727acd59dabfa0a7c85432f863ddad9e3d01a2ac70 SHA512 75cb8ae200cd41372ac738f5a4ed57607e13d538e2c9a46236dc05b7d0283ed4d152478e12fdff81735a4acd914055ebd58ff937ea0ca0a80056f255217b04c0 WHIRLPOOL a7c930847f2ff71abd9068896b650273f38bfb14d9e9a3f0a8724f43d52db669a27d7290398e70a68d146b18b3b664047f8cec40620ae1f202ef435df522a603 +EBUILD pecl-haru-1.0.4-r2.ebuild 574 SHA256 c854aa7f8bf58862d0fe0a2c88cfed27f512401508224337b2994525c6472c48 SHA512 1e379a868e2bb4f537e596208a9e47479fe59749a64f4720d4a616f8b441099386ac53e279da90ada9600df3913995e950441cca1bae46f119161e200b3bcaef WHIRLPOOL c00d7494053539e2599eb0ae009f29a8635dae37cbb561323e71da78b37a052bf08ef4831acde8e8fe400722b66d750f667614952b617a694f6c519617a598d8 +MISC ChangeLog 3385 SHA256 86dc99c9e634f4166fec59821b2cce22294bf9a5c03845e3acff120690190c41 SHA512 e336d45112881914273ac7d70828e53c9f641b9b89aef9136853b27a6960a8485fcbaa48738970e3cdce90a12d2f4bb164c671f320779f5bfe8320daf5287efc WHIRLPOOL 6dfb616965f4e94460c19d8c6eb5c2e69802b4d29449547c292a780a3d5ddfc20cbbd19b71e9640f82813f744c682a32493e3ca21d05e2757eba4104896468ab +MISC ChangeLog-2015 1163 SHA256 524939eb63bea4357282364bfcb09dadcdf3fe7f6b068ff0a78c193033395b96 SHA512 30685b622808bdef577d03b73cef0d06d12d64bf8a478139771810149b5d4d189f057dcbf11abad8f75ec1f4b3492698fd65091e1da01b0aebd2b35d9b2539b6 WHIRLPOOL 961abb50e0602fa32da026cfc27ac1b02ce99bfe0a24081cf75d75909aa358fb06f392d834993d302c71a39ef5aea7c3cfa335884455dfc0cf1f16037a255ba3 +MISC metadata.xml 372 SHA256 d067ae5114bbae69898eaba251b783556b9b0e2f8a4da0bb69abc7d7578f9ab1 SHA512 0451f4f1a39d2b353470f3141ed3d1026d000eee29ea6f74655069993c9d2a0761865df148d1e0dc2239c6be3a0d580702dab49ac24d107df85c8aa0c7b2951c WHIRLPOOL c0bc202635cf595736938b8acbdf73b6ef9328d4a97d14d9e018c3cb33f0cc0a84b604044b6300a2d6a9c9403c6031b6ab209cb960fdf705c94c4d07d558126e diff --git a/dev-php/pecl-haru/metadata.xml b/dev-php/pecl-haru/metadata.xml new file mode 100644 index 000000000000..5092019265f0 --- /dev/null +++ b/dev-php/pecl-haru/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>php-bugs@gentoo.org</email> + <name>PHP</name> + </maintainer> + <longdescription lang="en">These functions allow you to create PDF documents + using the Haru Free PDF Library. + </longdescription> +</pkgmetadata> diff --git a/dev-php/pecl-haru/pecl-haru-1.0.4-r2.ebuild b/dev-php/pecl-haru/pecl-haru-1.0.4-r2.ebuild new file mode 100644 index 000000000000..5b9771f7f0fb --- /dev/null +++ b/dev-php/pecl-haru/pecl-haru-1.0.4-r2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_PHP="php5-6" + +inherit php-ext-pecl-r3 + +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 + local PHP_EXT_ECONF_ARGS=( + $(usex png '--with-png-dir=/usr' '') + $(usex zlib '--with-zlib-dir=/usr' '') + ) + + php-ext-source-r3_src_configure +} |