2014-07-28 08:23:05 +02:00
|
|
|
# Copyright 1999-2011 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2019-09-27 10:56:03 +02:00
|
|
|
EAPI=7
|
2014-07-28 08:23:05 +02:00
|
|
|
|
|
|
|
PHP_EXT_NAME="gmagick"
|
|
|
|
|
2018-04-05 14:42:56 +02:00
|
|
|
MY_PN="gmagick"
|
|
|
|
MY_PV="${PV/_rc/RC}"
|
|
|
|
MY_P="${MY_PN}-${MY_PV}"
|
|
|
|
|
|
|
|
PHP_EXT_PECL_FILENAME="${MY_P}.tgz"
|
|
|
|
USE_PHP="php7-0 php7-1 php7-2"
|
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
|
|
|
|
2018-04-05 14:42:56 +02:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2014-07-28 08:23:05 +02:00
|
|
|
|
|
|
|
DESCRIPTION="PHP wrapper for the GraphicsMagick library."
|
|
|
|
LICENSE="PHP-3.01"
|
2017-05-02 14:57:25 +02:00
|
|
|
SLOT="7"
|
2014-07-28 08:23:05 +02:00
|
|
|
IUSE="examples"
|
|
|
|
|
2018-04-05 14:42:56 +02:00
|
|
|
DEPEND=">=media-gfx/graphicsmagick-1.3.20"
|
2014-07-28 08:23:05 +02:00
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
2018-04-05 14:42:56 +02:00
|
|
|
src_unpack() {
|
|
|
|
unpack ${A}
|
2019-09-27 10:56:03 +02:00
|
|
|
mv ${MY_P} ${S}
|
2018-04-05 14:42:56 +02:00
|
|
|
}
|
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
|
|
|
}
|