2014-07-28 08:23:05 +02:00
|
|
|
# Copyright 1999-2011 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2017-11-10 13:20:20 +01:00
|
|
|
EAPI=6
|
2014-07-28 08:23:05 +02:00
|
|
|
|
|
|
|
PHP_EXT_NAME="gmagick"
|
|
|
|
PHP_EXT_INI="yes"
|
|
|
|
PHP_EXT_ZENDEXT="no"
|
2019-01-17 12:28:40 +01:00
|
|
|
#DOCS="TODO"
|
2014-07-28 08:23:05 +02:00
|
|
|
|
2017-11-10 13:20:20 +01:00
|
|
|
PHP_EXT_PECL_FILENAME="${PN/pecl-/}-${PV/_rc/RC}.tgz"
|
2014-11-27 15:31:25 +01:00
|
|
|
USE_PHP="php5-4 php5-5 php5-6"
|
2014-07-28 08:23:05 +02:00
|
|
|
|
2017-11-10 13:20:20 +01:00
|
|
|
inherit php-ext-pecl-r3
|
2014-07-28 08:23:05 +02:00
|
|
|
|
|
|
|
KEYWORDS="amd64 x86"
|
|
|
|
|
|
|
|
DESCRIPTION="PHP wrapper for the GraphicsMagick library."
|
|
|
|
LICENSE="PHP-3.01"
|
2017-05-02 14:57:25 +02:00
|
|
|
SLOT="5"
|
2014-07-28 08:23:05 +02:00
|
|
|
IUSE="examples"
|
|
|
|
|
|
|
|
DEPEND=">=media-gfx/graphicsmagick-1.2.6"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
2019-01-17 12:28:40 +01:00
|
|
|
src_unpack() {
|
|
|
|
unpack ${A}
|
|
|
|
mv "${WORKDIR}/gmagick-${PV/_rc/RC}" "${S}"
|
|
|
|
}
|
2014-07-28 08:23:05 +02:00
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
my_conf="--with-gmagick=/usr"
|
2017-11-10 13:20:20 +01:00
|
|
|
php-ext-source-r3_src_configure
|
2014-07-28 08:23:05 +02:00
|
|
|
}
|