alpha-quadrant/dev-php/pecl-gmagick/pecl-gmagick-2.0.5_rc1.ebuild
2018-04-05 14:42:56 +02:00

37 lines
660 B
Bash

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PHP_EXT_NAME="gmagick"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
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"
inherit php-ext-pecl-r3
KEYWORDS="~amd64 ~x86"
DESCRIPTION="PHP wrapper for the GraphicsMagick library."
LICENSE="PHP-3.01"
SLOT="7"
IUSE="examples"
DEPEND=">=media-gfx/graphicsmagick-1.3.20"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
mv ${MY_P} ${S}
}
src_configure() {
my_conf="--with-gmagick=/usr"
php-ext-source-r3_src_configure
}