alpha-quadrant/dev-php/pecl-gmagick/pecl-gmagick-2.0.5_rc1.ebuild

37 lines
660 B
Bash
Raw Normal View History

2014-07-28 08:23:05 +02:00
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
2014-07-28 08:23:05 +02:00
PHP_EXT_NAME="gmagick"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
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
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}
mv ${MY_P} ${S}
}
2014-07-28 08:23:05 +02:00
src_configure() {
my_conf="--with-gmagick=/usr"
php-ext-source-r3_src_configure
2014-07-28 08:23:05 +02:00
}